summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmpv-test.py4
1 files changed, 4 insertions, 0 deletions
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):