summaryrefslogtreecommitdiffstats
path: root/tests/api/ApiTester.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-29 19:32:06 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-29 19:32:06 +0200
commitfacb379f3b6cdc5423f8400d756822f5f7890e2c (patch)
tree55e23c03ffdc71206fb9c50be485bd9d34dc9633 /tests/api/ApiTester.py
parentfixed capitalization of dependency (diff)
downloadpyload-facb379f3b6cdc5423f8400d756822f5f7890e2c.tar.xz
updated test suite
Diffstat (limited to 'tests/api/ApiTester.py')
-rw-r--r--tests/api/ApiTester.py6
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))