From bd57f78e8f6790748c72ed07e5ad4cd6a83b570e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 7 Aug 2023 15:39:22 +0100 Subject: [PATCH] fix test names --- tests/test_configs.py | 12 ++++++------ tests/test_factory.py | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/test_configs.py b/tests/test_configs.py index 836ca68..64efe19 100644 --- a/tests/test_configs.py +++ b/tests/test_configs.py @@ -12,37 +12,37 @@ class TestUserConfigs: def setup_class(cls): vm.apply_config("example") - def test_it_vm_config_string(self): + def test_it_tests_vm_config_string(self): assert "PhysStrip" in vm.strip[data.phys_in].label assert "VirtStrip" in vm.strip[data.virt_in].label assert "PhysBus" in vm.bus[data.phys_out].label assert "VirtBus" in vm.bus[data.virt_out].label - def test_it_vm_config_bool(self): + def test_it_tests_vm_config_bool(self): assert vm.strip[0].A1 == True @pytest.mark.skipif( data.name != "potato", reason="Skip test if kind is not potato", ) - def test_it_vm_config_bool_strip_eq_on(self): + def test_it_tests_vm_config_bool_strip_eq_on(self): assert vm.strip[data.phys_in].eq.on == True @pytest.mark.skipif( data.name != "banana", reason="Skip test if kind is not banana", ) - def test_it_vm_config_bool_bus_eq_ab(self): + def test_it_tests_vm_config_bool_bus_eq_ab(self): assert vm.bus[data.phys_out].eq.ab == True @pytest.mark.skipif( "not config.getoption('--run-slow')", reason="Only run when --run-slow is given", ) - def test_it_vm_config_busmode(self): + def test_it_tests_vm_config_busmode(self): assert vm.bus[data.phys_out].mode.get() == "composite" - def test_it_vm_config_bass_med_high(self): + def test_it_tests_vm_config_bass_med_high(self): assert vm.strip[data.virt_in].bass == -3.2 assert vm.strip[data.virt_in].mid == 1.5 assert vm.strip[data.virt_in].high == 2.1 diff --git a/tests/test_factory.py b/tests/test_factory.py index 0b01c6f..5b8ba02 100644 --- a/tests/test_factory.py +++ b/tests/test_factory.py @@ -10,7 +10,7 @@ class TestRemoteFactories: data.name != "basic", reason="Skip test if kind is not basic", ) - def test_it_vm_remote_attrs_for_basic(self): + def test_it_tests_vm_remote_attrs_for_basic(self): assert hasattr(vm, "strip") assert hasattr(vm, "bus") assert hasattr(vm, "command") @@ -28,7 +28,7 @@ class TestRemoteFactories: data.name != "banana", reason="Skip test if kind is not banana", ) - def test_it_vm_remote_attrs_for_banana(self): + def test_it_tests_vm_remote_attrs_for_banana(self): assert hasattr(vm, "strip") assert hasattr(vm, "bus") assert hasattr(vm, "command") @@ -48,7 +48,7 @@ class TestRemoteFactories: data.name != "potato", reason="Skip test if kind is not potato", ) - def test_it_vm_remote_attrs_for_potato(self): + def test_it_tests_vm_remote_attrs_for_potato(self): assert hasattr(vm, "strip") assert hasattr(vm, "bus") assert hasattr(vm, "command")