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