diff options
Diffstat (limited to 'tests/api/ApiProxy.py')
-rw-r--r-- | tests/api/ApiProxy.py | 4 |
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 |