From 3b6a29b8ae2b4bd1ad6922135a293debf93ff293 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 3 Jul 2017 22:22:03 +0200 Subject: tests: Add test for multi-valued property-mapped options --- mpv-test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpv-test.py b/mpv-test.py index 613280a..e607071 100755 --- a/mpv-test.py +++ b/mpv-test.py @@ -134,6 +134,10 @@ class TestProperties(unittest.TestCase): mpv.ErrorCode.PROPERTY_UNAVAILABLE, mpv.ErrorCode.PROPERTY_NOT_FOUND, mpv.ErrorCode.PROPERTY_ERROR]): self.m[name] + def test_multivalued_option(self): + self.m['external-file'] = ['test.webm', b'test.webm'] + self.assertEqual(self.m['external-file'], [b'test.webm', b'test.webm']) + class ObservePropertyTest(unittest.TestCase): def test_observe_property(self): -- cgit