We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4086d4 commit 775fc4aCopy full SHA for 775fc4a
tests/test_mpv.py
@@ -210,6 +210,11 @@ def test_property_decoding_multi(self):
210
# See comment in test_property_decoding_invalid_utf8
211
self.m.osd.alang
212
213
+ def test_dict_valued_property(self):
214
+ nasty_stuff = '\xe2\x80\x8e Mozilla/5.0 Foobar \xe2\x80\x8e \xe2\x80\x81'
215
+ self.m.ytdl_raw_options = {'user-agent': nasty_stuff}
216
+ self.assertEqual(self.m.ytdl_raw_options, {'user-agent': nasty_stuff})
217
+
218
def test_option_read(self):
219
self.m.loop = 'inf'
220
self.m.play(TESTVID)
0 commit comments