Add virtual output to hopefully make MPV tests work

This commit is contained in:
Sumner Evans
2020-06-14 11:34:22 -06:00
parent 3cec921653
commit 5e0819286f
4 changed files with 15 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ from sublime.players.chromecast import ChromecastPlayer
def test_init():
empty_fn = lambda *a, **k: None
ChromecastPlayer(
chromecast_player = ChromecastPlayer(
empty_fn,
empty_fn,
empty_fn,
@@ -13,3 +13,4 @@ def test_init():
"LAN Server Port Number": 6969,
},
)
chromecast_player.shutdown()

View File

@@ -66,3 +66,4 @@ def test_play():
# Pause so that it doesn't keep playing while testing
mpv_player.pause()
mpv_player.shutdown()