test(playout): class creation
This commit is contained in:
parent
ce89678292
commit
dde1af70b2
6 changed files with 65 additions and 0 deletions
18
playout/tests/player/fetch_test.py
Normal file
18
playout/tests/player/fetch_test.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
from queue import Queue
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from libretime_playout.config import Config
|
||||
from libretime_playout.player.fetch import PypoFetch
|
||||
|
||||
|
||||
def test_fetch_thread(config: Config):
|
||||
PypoFetch(
|
||||
Queue(),
|
||||
Queue(),
|
||||
Queue(),
|
||||
MagicMock(),
|
||||
MagicMock(),
|
||||
config,
|
||||
MagicMock(),
|
||||
MagicMock(),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue