python-psutil/python-psutil-skip-test-in-konflux.patch
Lumir Balhar 553d9d4c68 Skip one test not working in Konflux
Resolves: ROK-1063
2025-10-21 13:52:03 +02:00

25 lines
759 B
Diff

From 7ae74c70ddf656200dff3962f099ea6548d0fbe8 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <lbalhar@redhat.com>
Date: Sat, 18 Oct 2025 15:07:24 +0200
Subject: [PATCH] Skip test incompatible with konflux
---
psutil/tests/test_system.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index 4bd1225..5a63c21 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -632,6 +632,7 @@ class TestDiskAPIs(PsutilTestCase):
def test_disk_usage_bytes(self):
psutil.disk_usage(b'.')
+ @unittest.skip(reason="Does not work in Konflux")
def test_disk_partitions(self):
def check_ntuple(nt):
self.assertIsInstance(nt.device, str)
--
2.51.0