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