summaryrefslogtreecommitdiffstats
path: root/tests/helper
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-13 21:39:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-10-13 21:39:58 +0200
commit7e7adc64713f74976d5994af36b5f758620fb37b (patch)
tree868084317f8818dbb327c76eaff3c7c7edce0231 /tests/helper
parentfixed JsEngine init (diff)
downloadpyload-7e7adc64713f74976d5994af36b5f758620fb37b.tar.xz
added JSON and WS client, re organized tests, new classes for easier api tests
Diffstat (limited to 'tests/helper')
-rw-r--r--tests/helper/Stubs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/helper/Stubs.py b/tests/helper/Stubs.py
index 5c44cfb58..4ebd12592 100644
--- a/tests/helper/Stubs.py
+++ b/tests/helper/Stubs.py
@@ -4,6 +4,7 @@ import sys
from os.path import abspath, dirname, join
from time import strftime
from traceback import format_exc
+from collections import defaultdict
sys.path.append(abspath(join(dirname(__file__), "..", "..", "module", "lib")))
sys.path.append(abspath(join(dirname(__file__), "..", "..")))
@@ -73,6 +74,8 @@ class Core:
self.cache = {}
self.packageCache = {}
+ self.statusMsg = defaultdict(lambda: "statusmsg")
+
self.log = LogStub()
def getServerVersion(self):