Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/check
diff options
context:
space:
mode:
Diffstat (limited to 'commands/check')
-rwxr-xr-xcommands/check4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/check b/commands/check
index 21b5d75..ff4ac32 100755
--- a/commands/check
+++ b/commands/check
@@ -64,9 +64,9 @@ def _check_devbot():
os.environ["TESTS_TMP"] = tests_tmp
os.environ["PYTHONPATH"] = common.base_dir
+ os.chdir(os.path.join(common.base_dir, "tests", "devbot"))
- command.run(["python", "-m", "unittest", "discover",
- os.path.join(common.base_dir, "tests", "devbot")])
+ command.run(["python", "-m", "unittest", "discover"])
shutil.rmtree(tests_tmp, ignore_errors=True)