Skip to content
Snippets Groups Projects
Commit bf264643 authored by Chris Pastl's avatar Chris Pastl
Browse files

test: add delay to simulate loading time

parent 43e0b7a8
No related branches found
No related tags found
1 merge request!27Fix redundant logging #136
Pipeline #7106 passed
......@@ -119,6 +119,7 @@ class CoreClientMock(CoreClient):
return "volume=100% remaining=1 selected=1"
elif namespace in ChannelName._value2member_map_.values():
if action == "push":
sleep(5) # simulate some loading time
return 1 # res id
......@@ -184,7 +185,7 @@ class TestPlayCommand(unittest.TestCase):
entry.entry_start = datetime.now()
entry.duration = 60.0
entry.volume = 100
entry.source = "file:///file.aif"
entry.source = "file:///fake.wav"
entry.playlist = playlist
entries = [entry]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment