adding unit tests of streamer
This commit is contained in:
1 parent
a5cf97870b
commit
4ee4fb4a73
6 files changed
+46
-30
No files matched your search
@@ -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')
|
||||
@@ -0,0 +1 @@
|
||||
_theme.mp3
|
||||
@@ -0,0 +1 @@
|
||||
one.mp3
|
||||
@@ -0,0 +1 @@
|
||||
two.mp3
|
||||
Reference in new issue
Block a user