We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0db8d commit d4d8519Copy full SHA for d4d8519
test/unit/plugin/test_amdsmi_collector.py
@@ -298,7 +298,6 @@ def test_get_partition(collector):
298
"""Test partition parsing with multi-JSON output"""
299
p = collector.get_partition()
300
assert p is not None
301
- # The mock now returns realistic multi-JSON output
302
assert len(p.memory_partition) >= 1
303
assert p.memory_partition[0].partition_type == "NPS1"
304
@@ -400,7 +399,7 @@ def mock_cmd_error(cmd: str) -> MagicMock:
400
399
assert data is not None
401
assert data.version is None
402
assert data.gpu_list == []
403
- assert len(result.events) > 0 # Should have error events
+ assert len(result.events) > 0
404
405
406
def test_multi_json_parsing(conn_mock, system_info, monkeypatch):
0 commit comments