summaryrefslogtreecommitdiffstats
path: root/module/InitHomeDir.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-15 15:55:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-15 15:55:19 +0100
commit26227cfe53f8fd4bc1631d8e1b35031f589682dc (patch)
treed468ab14d8179c9a097c3d388ce29b8ab5747475 /module/InitHomeDir.py
parentplugin tester links (diff)
downloadpyload-26227cfe53f8fd4bc1631d8e1b35031f589682dc.tar.xz
backend + api test case, nicer format for plugin tester
Diffstat (limited to 'module/InitHomeDir.py')
-rw-r--r--module/InitHomeDir.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/InitHomeDir.py b/module/InitHomeDir.py
index 156c9f932..ff1e1463b 100644
--- a/module/InitHomeDir.py
+++ b/module/InitHomeDir.py
@@ -63,6 +63,9 @@ if "--configdir=" in args:
configdir = args[pos + 12:].strip()
else:
configdir = args[pos + 12:end].strip()
+elif "nosetests" in args or "nosetests2" in args:
+ configdir = join(pypath, "tests", "config")
+
elif path.exists(path.join(pypath, "module", "config", "configdir")):
f = open(path.join(pypath, "module", "config", "configdir"), "rb")
c = f.read().strip()