fix(playout): missing live show events (#2087)
This commit is contained in:
parent
be14fb8096
commit
ef1de34111
6 changed files with 132 additions and 4 deletions
15
api/libretime_api/schedule/tests/models/test_show.py
Normal file
15
api/libretime_api/schedule/tests/models/test_show.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
from ...models import Show
|
||||
|
||||
|
||||
def test_show_live_enabled():
|
||||
show = Show(
|
||||
name="My Test Show",
|
||||
description="My test show description",
|
||||
)
|
||||
assert not show.live_enabled
|
||||
|
||||
show.live_auth_registered = True
|
||||
assert show.live_enabled
|
||||
|
||||
show.live_auth_custom = True
|
||||
assert show.live_enabled
|
Loading…
Add table
Add a link
Reference in a new issue