From 44ca94749aabace75fb2d33e49eaf1a62760c242 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 16 Jul 2020 13:23:26 +0200 Subject: tests: rename test.srt to sub_test.srt to prevent auto-load --- mpv-test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpv-test.py') diff --git a/mpv-test.py b/mpv-test.py index aca6952..8bcf0d3 100755 --- a/mpv-test.py +++ b/mpv-test.py @@ -588,7 +588,7 @@ class CommandTests(MpvTestCase): handler = mock.Mock() self.m.property_observer('sub-text')(handler) - self.m.loadfile(TESTVID, sub_file='test.srt') + self.m.loadfile(TESTVID, sub_file='sub_test.srt') self.m.wait_for_playback() handler.assert_any_call('sub-text', 'This is\na subtitle test.') @@ -600,7 +600,7 @@ class CommandTests(MpvTestCase): self.m.loadfile(TESTVID) self.m.wait_for_property('core-idle', lambda x: not x) - self.m.sub_add('test.srt') + self.m.sub_add('sub_test.srt') self.m.wait_for_playback() handler.assert_any_call('sub-text', 'This is\na subtitle test.') -- cgit