adding unit tests of streamer

This commit is contained in:
evilchili
2024-03-17 14:44:36 -07:00
parent a5cf97870b
commit 4ee4fb4a73
6 changed files with 46 additions and 30 deletions
+6
View File
@@ -8,3 +8,9 @@ def mock_env(monkeypatch):
fixtures = Path(__file__).parent / 'fixtures'
monkeypatch.setenv('CROAKER_ROOT', str(fixtures))
monkeypatch.setenv('MEDIA_GLOB', '*.mp3,*.foo,*.bar')
monkeypatch.setenv('ICECAST_URL', 'http://127.0.0.1')
monkeypatch.setenv('ICECAST_HOST', 'localhost')
monkeypatch.setenv('ICECAST_MOUNT', 'mount')
monkeypatch.setenv('ICECAST_PORT', '6523')
monkeypatch.setenv('ICECAST_PASSWORD', 'password')
monkeypatch.setenv('DEBUG', '1')
+1
View File
@@ -0,0 +1 @@
_theme.mp3
+1
View File
@@ -0,0 +1 @@
one.mp3
+1
View File
@@ -0,0 +1 @@
two.mp3