From 7e7adc64713f74976d5994af36b5f758620fb37b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 13 Oct 2012 21:39:58 +0200 Subject: added JSON and WS client, re organized tests, new classes for easier api tests --- tests/helper/Stubs.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/helper') 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): -- cgit v1.2.3