def test_partial_match(self): c = Change(properties=Properties( script_repo_revision="F_34_0_5_RELEASE")) self.assertFalse(changeContainsScriptRepoRevision(c, "F_34_0_RELEASE"))
def test_exact_match(self): c = Change(properties=Properties( script_repo_revision="F_34_0_RELEASE")) self.assertTrue(changeContainsScriptRepoRevision(c, "F_34_0_RELEASE"))