Enhanced complex concepts handling
This commit is contained in:
@@ -108,12 +108,12 @@ def test_i_can_use_the_result_of_regex_parsing_to_parse_a_text():
|
||||
|
||||
res = concept_parser.parse(context, "twenty two")
|
||||
assert res.status
|
||||
assert res.value.body == [(bar, 0, 2, "twenty two")]
|
||||
assert res.value.body == [("bar", 0, 2, "twenty two")]
|
||||
|
||||
res = concept_parser.parse(context, "thirty one")
|
||||
assert res.status
|
||||
assert res.value.body == [(bar, 0, 2, "thirty one")]
|
||||
assert res.value.body == [("bar", 0, 2, "thirty one")]
|
||||
|
||||
res = concept_parser.parse(context, "twenty")
|
||||
assert res.status
|
||||
assert res.value.body == [(foo, 0, 0, "twenty")]
|
||||
assert res.value.body == [("foo", 0, 0, "twenty")]
|
||||
|
||||
Reference in New Issue
Block a user