Browse Source

ugly fix path to wsdl local files

main
Julien Iguchi-Cartigny 10 years ago
parent
commit
7961327fb7
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/wstools/tests/test_wsdl.py

+ 1
- 3
src/wstools/tests/test_wsdl.py View File

@@ -67,12 +67,10 @@ class WSDLToolsTestCase(unittest.TestCase):


def test_all(self): def test_all(self):
try: try:
print "=>" + self.path
print "=>" + os.getcwd()
if self.path[:7] == 'http://': if self.path[:7] == 'http://':
self.wsdl = WSDLReader().loadFromURL(self.path) self.wsdl = WSDLReader().loadFromURL(self.path)
else: else:
self.wsdl = WSDLReader().loadFromFile(self.path)
self.wsdl = WSDLReader().loadFromFile('src/wstools/tests/' + self.path)


except TimeoutError: except TimeoutError:
print "connection timed out" print "connection timed out"


Loading…
Cancel
Save