tests: Fix TestLifecycle.test_options for current mpv master
This commit is contained in:
parent
3fe42bfd9d
commit
400053e8d3
1 changed files with 2 additions and 1 deletions
|
|
@ -525,7 +525,8 @@ class TestLifecycle(unittest.TestCase):
|
||||||
mpv.MPV(this_option_does_not_exists=23)
|
mpv.MPV(this_option_does_not_exists=23)
|
||||||
m = mpv.MPV(osd_level=0, loop='inf', deinterlace=False)
|
m = mpv.MPV(osd_level=0, loop='inf', deinterlace=False)
|
||||||
self.assertEqual(m.osd_level, 0)
|
self.assertEqual(m.osd_level, 0)
|
||||||
self.assertEqual(m.loop, True)
|
# For compatibility with mpv master (v0.32.0-585-gfba1c681b8) accept both
|
||||||
|
self.assertIn(m.loop, ['inf', True])
|
||||||
self.assertEqual(m.deinterlace, False)
|
self.assertEqual(m.deinterlace, False)
|
||||||
m.terminate()
|
m.terminate()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue