Merge pull request #5261 from edx/benp/fix-paver-failures

Update paver bok_choy (test) commands to reflect new default vars.
This commit is contained in:
Ben Patterson
2014-09-17 12:38:44 -04:00

View File

@@ -14,8 +14,8 @@ class TestPaverBokChoy(unittest.TestCase):
def _expected_command(self, expected_text_append):
if expected_text_append:
expected_text_append = "/" + expected_text_append
expected_statement = ("SCREENSHOT_DIR='{repo_dir}/test_root/log' "
"HAR_DIR='{repo_dir}/test_root/log/hars' "
expected_statement = ("DEFAULT_STORE=None SCREENSHOT_DIR='{repo_dir}/test_root/log' "
"BOK_CHOY_HAR_DIR='{repo_dir}/test_root/log/hars' "
"SELENIUM_DRIVER_LOG_DIR='{repo_dir}/test_root/log' "
"nosetests {repo_dir}/common/test/acceptance/tests{exp_text} "
"--with-xunit "
@@ -40,4 +40,4 @@ class TestPaverBokChoy(unittest.TestCase):
self.assertEqual(self.request.cmd, self._expected_command(self.request.test_spec))
# TODO: Test when bok_choy test file is in a subdir
# TODO: Test when bok_choy test file is in a subdir