Skip to content

Commit

Permalink
tests/chore: ignore testing some unused GPU stats code
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Apr 27, 2024
1 parent 4df4339 commit b025ba2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pytest

from hordelib.settings import UserSettings
from hordelib.utils.distance import (
CosineSimilarityResultCode,
Expand All @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit b025ba2

Please sign in to comment.