diff --git a/tests/__init__.py b/tests/__init__.py index 7b7eb36..dbb89bf 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -11,9 +11,9 @@ from vban_cmd.kinds import request_kind_map as kindmap KIND_ID = os.environ.get('KIND', 'potato') opts = { - 'ip': 'localhost', - 'streamname': 'onyx', - 'port': 6980, + 'ip': os.getenv('VBANCMD_IP', 'localhost'), + 'streamname': os.getenv('VBANCMD_STREAMNAME', 'Command1'), + 'port': int(os.getenv('VBANCMD_PORT', 6980)), } vban = vban_cmd.api(KIND_ID, **opts) diff --git a/tests/test_higher.py b/tests/test_higher.py index aeafa96..bf4d326 100644 --- a/tests/test_higher.py +++ b/tests/test_higher.py @@ -176,6 +176,7 @@ class TestSetAndGetFloatHigher: """ strip tests, virtual """ + @pytest.mark.skip(reason='Requires RT Packet NBS 1') @pytest.mark.parametrize( 'index, param, value', [ diff --git a/tests/test_lower.py b/tests/test_lower.py index aed09d2..d6e3817 100644 --- a/tests/test_lower.py +++ b/tests/test_lower.py @@ -9,8 +9,8 @@ class TestPublicPacketLower: """Tests for a valid rt data packet""" - def test_it_gets_an_rt_data_packet(self): - assert vban.public_packet.voicemeetertype in ( + def test_it_gets_an_rt0_data_packet(self): + assert vban.public_packets[0].voicemeetertype in ( kind.name for kind in kinds.kinds_all )