summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_properties.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_properties.py b/tests/test_properties.py
index 5a819fa..e155911 100644
--- a/tests/test_properties.py
+++ b/tests/test_properties.py
@@ -192,3 +192,11 @@ class TestProperties(unittest.TestCase):
obj.set_property(key, max)
self.assertEqual(obj.get_property(key), max)
+
+ def testMulti(self):
+ obj = PropertyObject()
+ obj.set_properties(normal="foo",
+ uint64=7)
+ normal, uint64 = obj.get_properties("normal", "uint64")
+ self.assertEqual(normal, "foo")
+ self.assertEqual(uint64, 7)