diff options
author | Juergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com> | 2017-07-11 14:52:57 +0200 |
---|---|---|
committer | Juergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com> | 2017-07-11 14:52:57 +0200 |
commit | 8e5cb70525bc6506c67ad9d9380367b546003ce6 (patch) | |
tree | 16f859bdbf8d6a7addc5f3eac8d81661f22df487 /tests | |
parent | 97159f74248c477004522ebca81fa95f9a695de7 (diff) | |
download | qtivi-qface-8e5cb70525bc6506c67ad9d9380367b546003ce6.tar.gz |
Added tests for const oeprations. Also added missing
is_const property on operation object
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index 128e691..764a7b9 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -68,9 +68,10 @@ def test_operation(): assert operation operation = interface._contentMap['previousStation'] assert operation + assert not operation.is_const operation = interface._contentMap['numStations'] assert operation - assert operation.const + assert operation.is_const def test_signals(): |