summaryrefslogtreecommitdiffstats
path: root/tests/api/ApiProxy.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/ApiProxy.py
parentfixed capitalization of dependency (diff)
downloadpyload-facb379f3b6cdc5423f8400d756822f5f7890e2c.tar.xz
updated test suite
Diffstat (limited to 'tests/api/ApiProxy.py')
-rw-r--r--tests/api/ApiProxy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/api/ApiProxy.py b/tests/api/ApiProxy.py
index 4bea0f5a3..0da79a204 100644
--- a/tests/api/ApiProxy.py
+++ b/tests/api/ApiProxy.py
@@ -3,10 +3,12 @@
from pyload.remote.apitypes_debug import classes, methods
+from tests.helper.config import credentials
+
class ApiProxy:
""" Proxy that does type checking on the api """
- def __init__(self, api, user="User", pw="test"):
+ def __init__(self, api, user=credentials[0], pw=credentials[1]):
self.api = api
self.user = user
self.pw = pw