tests: Add unit test for static property
This commit is contained in:
parent
5106fc879f
commit
14f3cb0e40
|
|
@ -609,3 +609,9 @@ def test_map_property_items():
|
|||
|
||||
assert isinstance(prop.items(), collections_abc.MappingView)
|
||||
assert frozenset(prop.items()) == frozenset((('key', 'value'), ('key2', 'value2')))
|
||||
|
||||
|
||||
def test_static_property():
|
||||
v1 = core.PandaSystem.version_string
|
||||
v2 = core.PandaSystem.get_version_string()
|
||||
assert v1 == v2
|
||||
|
|
|
|||
Loading…
Reference in New Issue