Commit 894e8d72 authored by Igor Dejanovic's avatar Igor Dejanovic

Small addition to parse tree navigation unit test.

parent d5c9fa47
......@@ -55,6 +55,10 @@ def test_lookup_single():
assert result.bar.bum[0].rule == 'bum'
assert result.bar.bum[1].position == 18
# Access to terminal
assert result.bar.bum[-1][0].value == 'bum'
assert result.bar2.bla[0].value == 'bla'
# The same for all bla from all bar2
assert len(result.bar2.bla) == 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment