diff options
| author | 2013-06-29 19:32:06 +0200 | |
|---|---|---|
| committer | 2013-06-29 19:32:06 +0200 | |
| commit | facb379f3b6cdc5423f8400d756822f5f7890e2c (patch) | |
| tree | 55e23c03ffdc71206fb9c50be485bd9d34dc9633 /tests/api/ApiTester.py | |
| parent | fixed capitalization of dependency (diff) | |
| download | pyload-facb379f3b6cdc5423f8400d756822f5f7890e2c.tar.xz | |
updated test suite
Diffstat (limited to 'tests/api/ApiTester.py')
| -rw-r--r-- | tests/api/ApiTester.py | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/api/ApiTester.py b/tests/api/ApiTester.py index 39973b52f..e9a185947 100644 --- a/tests/api/ApiTester.py +++ b/tests/api/ApiTester.py @@ -3,6 +3,8 @@  from pyload.remote.JSONClient import JSONClient  from pyload.remote.WSClient import WSClient +from tests.helper.config import webAddress, wsAddress +  from ApiProxy import ApiProxy  class ApiTester: @@ -29,7 +31,7 @@ class ApiTester:          self.api = api      def enableJSON(self): -        self.api = ApiProxy(JSONClient()) +        self.api = ApiProxy(JSONClient(webAddress))      def enableWS(self): -        self.api = ApiProxy(WSClient()) +        self.api = ApiProxy(WSClient(wsAddress))  | 
