Пример #1
0
 def test_matches_when_value_is_in_testee(self):
     node = TagNode('name')
     result = node.match(('name', 'other'))
     result |should| be(True)
Пример #2
0
 def test_matches_when_value_is_in_testee(self):
     node = TagNode('name')
     result = node.match(('name', 'other'))
     result | should | be(True)
Пример #3
0
 def test_does_not_matche_when_value_is_not_in_testee(self):
     node = TagNode('name')
     result = node.match(('other', 'value'))
     result |should| be(False)
Пример #4
0
 def test_does_not_matche_when_value_is_not_in_testee(self):
     node = TagNode('name')
     result = node.match(('other', 'value'))
     result | should | be(False)