Commit bc7cc1cf by Csók Tamás

fabfile.py: flake8 correction

parent fd4eb316
...@@ -84,15 +84,16 @@ def make_messages(): ...@@ -84,15 +84,16 @@ def make_messages():
def test(test=""): def test(test=""):
"Run portal tests" "Run portal tests"
with _workon("circle"), cd("~/circle/circle"): with _workon("circle"), cd("~/circle/circle"):
run("./manage.py test --settings=circle.settings.test "+ run("./manage.py test --settings=circle.settings.test " +
"--exclude-dir=dashboard/tests/selenium %s" % test) "--exclude-dir=dashboard/tests/selenium %s" % test)
@roles('portal') @roles('portal')
def selenium(test="", driver="firefox"): def selenium(test="", driver="firefox"):
"Run portal selenium tests" "Run portal selenium tests"
with _workon("circle"), cd("~/circle/circle"): with _workon("circle"), cd("~/circle/circle"):
run("./manage.py test --settings=circle.settings.test "+ run("./manage.py test --settings=circle.settings.test " +
" --with-selenium-driver --selenium-driver="+ " --with-selenium-driver --selenium-driver=" +
"%s -w dashboard/tests/selenium %s" % (driver, test)) "%s -w dashboard/tests/selenium %s" % (driver, test))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment