fix(playout): missing live show events (#2087)

This commit is contained in:
Jonas L 2022-09-06 14:09:04 +02:00 committed by GitHub
parent be14fb8096
commit ef1de34111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 132 additions and 4 deletions

View 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