Merge "Skip checking samples in coverage job"

This commit is contained in:
Jenkins 2016-08-16 15:12:08 +00:00 committed by Gerrit Code Review
commit 6426fd63cd
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,11 @@ class TaskSampleTestCase(test.TestCase):
os.pardir, os.pardir, os.pardir,
"samples", "tasks")
def setUp(self):
super(TaskSampleTestCase, self).setUp()
if os.environ.get("TOX_ENV_NAME") == "cover":
self.skipTest("There is no need to check samples in coverage job.")
@mock.patch("rally.task.engine.TaskEngine"
"._validate_config_semantic")
def test_schema_is_valid(self,

View File

@ -9,6 +9,7 @@ setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
PYTHONHASHSEED=0
TOX_ENV_NAME={envname}
whitelist_externals = find
rm
make