Commit ef420ffd by stv

Fix PEP8: E127 continuation line over-indented

for visual indent
parent ed36b2db
...@@ -14,15 +14,20 @@ class TestPaverBokChoyCmd(unittest.TestCase): ...@@ -14,15 +14,20 @@ class TestPaverBokChoyCmd(unittest.TestCase):
def _expected_command(self, expected_text_append, expected_default_store=None): def _expected_command(self, expected_text_append, expected_default_store=None):
if expected_text_append: if expected_text_append:
expected_text_append = "/" + expected_text_append expected_text_append = "/" + expected_text_append
expected_statement = ("DEFAULT_STORE={default_store} SCREENSHOT_DIR='{repo_dir}/test_root/log' " expected_statement = (
"BOK_CHOY_HAR_DIR='{repo_dir}/test_root/log/hars' " "DEFAULT_STORE={default_store} "
"SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log' " "SCREENSHOT_DIR='{repo_dir}/test_root/log' "
"nosetests {repo_dir}/common/test/acceptance/tests{exp_text} " "BOK_CHOY_HAR_DIR='{repo_dir}/test_root/log/hars' "
"--with-xunit " "SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log' "
"--xunit-file={repo_dir}/reports/bok_choy/xunit.xml " "nosetests {repo_dir}/common/test/acceptance/tests{exp_text} "
"--verbosity=2 ".format(default_store=expected_default_store, "--with-xunit "
repo_dir=REPO_DIR, "--xunit-file={repo_dir}/reports/bok_choy/xunit.xml "
exp_text=expected_text_append)) "--verbosity=2 "
).format(
default_store=expected_default_store,
repo_dir=REPO_DIR,
exp_text=expected_text_append,
)
return expected_statement return expected_statement
def test_default_bokchoy(self): def test_default_bokchoy(self):
......
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 to comment