test(playout): generated liquidsoap script syntax

This commit is contained in:
jo 2023-02-26 23:34:28 +01:00 committed by Kyle Robbertze
parent 654105e865
commit 0c2b2c6b63
4 changed files with 39 additions and 3 deletions

View file

@ -9,14 +9,13 @@ import pytest
from libretime_shared.logging import setup_logger
from libretime_playout.liquidsoap.client import LiquidsoapConnection
from libretime_playout.liquidsoap.version import get_liquidsoap_version
from ..conftest import LIQ_VERSION, LIQ_VERSION_STR
logger = logging.getLogger(__name__)
setup_logger("debug")
LIQ_VERSION = get_liquidsoap_version()
LIQ_VERSION_STR = ".".join(map(str, LIQ_VERSION))
pytestmark = pytest.mark.skipif(
LIQ_VERSION >= (2, 0, 0),