diff --git a/pavelib/paver_tests/test_paver_bok_choy_cmds.py b/pavelib/paver_tests/test_paver_bok_choy_cmds.py index be6909480e..bd57345085 100644 --- a/pavelib/paver_tests/test_paver_bok_choy_cmds.py +++ b/pavelib/paver_tests/test_paver_bok_choy_cmds.py @@ -17,18 +17,18 @@ class TestPaverBokChoyCmd(unittest.TestCase): shard = os.environ.get('SHARD') expected_statement = ( "DEFAULT_STORE={default_store} " - "SCREENSHOT_DIR='{repo_dir}/test_root/log{shard}' " - "BOK_CHOY_HAR_DIR='{repo_dir}/test_root/log{shard}/hars' " - "SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log{shard}' " + "SCREENSHOT_DIR='{repo_dir}/test_root/log{shard_str}' " + "BOK_CHOY_HAR_DIR='{repo_dir}/test_root/log{shard_str}/hars' " + "SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log{shard_str}' " "nosetests {repo_dir}/common/test/acceptance/tests{exp_text} " "--with-xunit " - "--xunit-file={repo_dir}/reports/bok_choy{shard}/xunit.xml " + "--xunit-file={repo_dir}/reports/bok_choy{shard_str}/xunit.xml " "--verbosity=2 " ).format( default_store=expected_default_store, repo_dir=REPO_DIR, exp_text=expected_text_append, - shard='/shard_' + shard if shard else '', + shard_str='/shard_' + shard if shard else '', ) return expected_statement.strip()