tests: Add unit test for static property

This commit is contained in:
rdb
2024-09-19 20:25:45 +02:00
parent 5106fc879f
commit 14f3cb0e40

View File

@@ -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