summaryrefslogtreecommitdiffstats
path: root/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/ApiProxy.py4
-rw-r--r--tests/api/ApiTester.py4
-rw-r--r--tests/api/test_JSONBackend.py4
-rw-r--r--tests/api/test_WebSocketBackend.py4
-rw-r--r--tests/api/test_noargs.py2
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/api/ApiProxy.py b/tests/api/ApiProxy.py
index 5a091dbee..4bea0f5a3 100644
--- a/tests/api/ApiProxy.py
+++ b/tests/api/ApiProxy.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from module.remote.apitypes_debug import classes, methods
+from pyload.remote.apitypes_debug import classes, methods
class ApiProxy:
""" Proxy that does type checking on the api """
@@ -62,7 +62,7 @@ class ApiProxy:
if __name__ == "__main__":
- from module.remote.JSONClient import JSONClient
+ from pyload.remote.JSONClient import JSONClient
api = ApiProxy(JSONClient(), "User", "test")
api.getServerVersion() \ No newline at end of file
diff --git a/tests/api/ApiTester.py b/tests/api/ApiTester.py
index b17a7655e..39973b52f 100644
--- a/tests/api/ApiTester.py
+++ b/tests/api/ApiTester.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from module.remote.JSONClient import JSONClient
-from module.remote.WSClient import WSClient
+from pyload.remote.JSONClient import JSONClient
+from pyload.remote.WSClient import WSClient
from ApiProxy import ApiProxy
diff --git a/tests/api/test_JSONBackend.py b/tests/api/test_JSONBackend.py
index e99b97827..4efc65d2a 100644
--- a/tests/api/test_JSONBackend.py
+++ b/tests/api/test_JSONBackend.py
@@ -7,8 +7,8 @@ import requests
import json
-from module.remote.apitypes import Forbidden
-from module.remote.JSONClient import JSONClient
+from pyload.remote.apitypes import Forbidden
+from pyload.remote.JSONClient import JSONClient
class TestJSONBackend:
diff --git a/tests/api/test_WebSocketBackend.py b/tests/api/test_WebSocketBackend.py
index 3c714a5e2..679654fc9 100644
--- a/tests/api/test_WebSocketBackend.py
+++ b/tests/api/test_WebSocketBackend.py
@@ -2,8 +2,8 @@
from nose.tools import raises
-from module.remote.apitypes import Forbidden
-from module.remote.WSClient import WSClient
+from pyload.remote.apitypes import Forbidden
+from pyload.remote.WSClient import WSClient
class TestWebSocketBackend:
diff --git a/tests/api/test_noargs.py b/tests/api/test_noargs.py
index 12da0b417..e84946e45 100644
--- a/tests/api/test_noargs.py
+++ b/tests/api/test_noargs.py
@@ -4,7 +4,7 @@ import inspect
from ApiTester import ApiTester
-from module.remote.apitypes import Iface
+from pyload.remote.apitypes import Iface
IGNORE = ('quit', 'restart')