From b025ba23f9594eda4eeca171aa31791d43214ae4 Mon Sep 17 00:00:00 2001 From: tazlin Date: Sat, 27 Apr 2024 10:15:40 -0400 Subject: [PATCH] tests/chore: ignore testing some unused GPU stats code --- tests/test_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index 62cb06be..745fe508 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,3 +1,5 @@ +import pytest + from hordelib.settings import UserSettings from hordelib.utils.distance import ( CosineSimilarityResultCode, @@ -20,6 +22,7 @@ def test_worker_settings_percent_check(): assert UserSettings._is_percentage("%50") is False +@pytest.mark.skip(reason="This refers to code that is not currently used in production.") class TestWorkerSettingsWithInit: def test_worker_settings_properties_comparable(self, init_horde): assert UserSettings.get_ram_to_leave_free_mb() > 0 @@ -49,6 +52,7 @@ def test_result_codes_in_order(self): last_value = result_code +@pytest.mark.skip(reason="This refers to code that is not currently used in production.") class TestGPUInfo: def test_gpuinfo_init(self): gpu = GPUInfo()