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