diff options
author | jaseg <code@jaseg.net> | 2017-07-03 22:22:03 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2017-07-03 22:22:03 +0200 |
commit | 3b6a29b8ae2b4bd1ad6922135a293debf93ff293 (patch) | |
tree | 853bccbd3e5eef9a1bd0e5f87db3e2da9c2dc71c | |
parent | a80f638732cdcd6837b3a8818ab7822993bd42b4 (diff) | |
download | python-mpv-3b6a29b8ae2b4bd1ad6922135a293debf93ff293.tar.gz python-mpv-3b6a29b8ae2b4bd1ad6922135a293debf93ff293.tar.bz2 python-mpv-3b6a29b8ae2b4bd1ad6922135a293debf93ff293.zip |
tests: Add test for multi-valued property-mapped options
-rwxr-xr-x | mpv-test.py | 4 |
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): |