diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-28 16:44:06 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-28 16:44:06 (GMT) |
commit | 08c27487173faf6a86b5fe20e6b545033b6d1638 (patch) | |
tree | 6b412c3c7bd0f7d72ad3c5d20221b740778c63bd /devbot/test.py | |
parent | 542477741abe0135c652a78911a0eb9aec9b1a19 (diff) |
Rework initialization
To avoid duplicatin environ setup calls.
Diffstat (limited to 'devbot/test.py')
-rw-r--r-- | devbot/test.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/devbot/test.py b/devbot/test.py index fefb91a..d3bd0a0 100644 --- a/devbot/test.py +++ b/devbot/test.py @@ -2,14 +2,11 @@ import os import subprocess from devbot import config -from devbot import environ from devbot import command from devbot import xvfb def test_one(module_name): - environ.setup() - for module in config.load_modules(): if module.name == module_name: return _test_module(module) @@ -18,8 +15,6 @@ def test_one(module_name): def test(): - environ.setup() - modules = config.load_modules() for module in modules: if not _test_module(module): |