Add virtual output to hopefully make MPV tests work
This commit is contained in:
@@ -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()
|
||||
|
@@ -66,3 +66,4 @@ def test_play():
|
||||
|
||||
# Pause so that it doesn't keep playing while testing
|
||||
mpv_player.pause()
|
||||
mpv_player.shutdown()
|
||||
|
Reference in New Issue
Block a user