Skip to content

Commit

Permalink
Fix: Solve test code quality issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
nesitor committed Dec 17, 2024
1 parent 5506cbe commit 387e9b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/supervisor/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def mock_is_kernel_enabled_gpu(pci_host: str) -> bool:


def test_get_gpu_devices():

class DevicesReturn:
stdout: str = (
'00:1f.0 "ISA bridge [0601]" "Intel Corporation [8086]" "Device [7a06]" -r11 -p00 "ASUSTeK Computer Inc. [1043]" "Device [8882]"'
Expand All @@ -28,7 +27,6 @@ class DevicesReturn:
"aleph.vm.resources.is_kernel_enabled_gpu",
wraps=mock_is_kernel_enabled_gpu,
):

expected_gpu_devices = get_gpu_devices()

print(expected_gpu_devices)
Expand Down

0 comments on commit 387e9b3

Please sign in to comment.