예제 #1
0
 def test_always_matches_when_empty(self):
     tags = TagExpression()
     result = tags.match(())
     result |should| be(True)
예제 #2
0
 def test_always_matches_when_empty(self):
     tags = TagExpression()
     result = tags.match(())
     result | should | be(True)
예제 #3
0
 def runTest(self):
     tags = TagExpression()
     for group in groups:
         tags.parse_and_add(group)
     tags.match(test_in) |should| be(test_result)
예제 #4
0
 def runTest(self):
     tags = TagExpression()
     for group in groups:
         tags.parse_and_add(group)
     tags.match(test_in) | should | be(test_result)