diff options
author | jaseg <code@jaseg.net> | 2020-07-16 13:23:26 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2020-07-16 15:01:23 +0200 |
commit | 44ca94749aabace75fb2d33e49eaf1a62760c242 (patch) | |
tree | 02679ee4dd645da294318ec2a29544107fc0c4a9 /mpv-test.py | |
parent | b68a03c9d04046788e0014b9f59473c29b6a9dea (diff) | |
download | python-mpv-44ca94749aabace75fb2d33e49eaf1a62760c242.tar.gz python-mpv-44ca94749aabace75fb2d33e49eaf1a62760c242.tar.bz2 python-mpv-44ca94749aabace75fb2d33e49eaf1a62760c242.zip |
tests: rename test.srt to sub_test.srt to prevent auto-load
Diffstat (limited to 'mpv-test.py')
-rwxr-xr-x | mpv-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
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.') |