def test_always_matches_when_empty(self): tags = TagExpression() result = tags.match(()) result |should| be(True)
def test_always_matches_when_empty(self): tags = TagExpression() result = tags.match(()) result | should | be(True)
def runTest(self): tags = TagExpression() for group in groups: tags.parse_and_add(group) tags.match(test_in) |should| be(test_result)
def runTest(self): tags = TagExpression() for group in groups: tags.parse_and_add(group) tags.match(test_in) | should | be(test_result)