From 387e9b3c41b6c66210544582745cd039f27abb12 Mon Sep 17 00:00:00 2001 From: "Andres D. Molins" Date: Tue, 17 Dec 2024 19:34:12 +0100 Subject: [PATCH] Fix: Solve test code quality issues. --- tests/supervisor/test_resources.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/supervisor/test_resources.py b/tests/supervisor/test_resources.py index b5d5baf3..fea79fe7 100644 --- a/tests/supervisor/test_resources.py +++ b/tests/supervisor/test_resources.py @@ -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]"' @@ -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)