Exemple #1
0
 def test_matches_wrong_case(self):
     tag = Tag('type', 'value1', 'value2', 'value3')
     assert tag.contains('VALUE1')
Exemple #2
0
 def test_matches_partial_values(self):
     tag = Tag('type', 'value1', 'value2', 'value3')
     assert tag.contains('val')
Exemple #3
0
 def test_wildcard_with_any_values_is_true(self):
     tag = Tag('type', 'value1', 'value2', 'value3')
     assert tag.contains('*')