summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-04-17 22:35:47 +0200
committerjaseg <git@jaseg.de>2022-04-17 22:35:47 +0200
commit850bfcbd2fcd8d2d6e0942e6110583c667dce443 (patch)
tree641229812d19a4b595f69f6d7731f2b8b8b77243 /tests
parentb8cac81b369bbb0a22db6c1442c95a1a7dad5bc0 (diff)
downloadpython-mpv-850bfcbd2fcd8d2d6e0942e6110583c667dce443.tar.gz
python-mpv-850bfcbd2fcd8d2d6e0942e6110583c667dce443.tar.bz2
python-mpv-850bfcbd2fcd8d2d6e0942e6110583c667dce443.zip
tests: Fix flaky sub_add test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_mpv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_mpv.py b/tests/test_mpv.py
index 7c0373d..87cd318 100755
--- a/tests/test_mpv.py
+++ b/tests/test_mpv.py
@@ -687,6 +687,7 @@ class CommandTests(MpvTestCase):
def test_sub_add(self):
handler = mock.Mock()
self.m.property_observer('sub-text')(handler)
+ time.sleep(0.5)
self.m.loadfile(TESTVID)
self.m.wait_until_playing()