Skip to content

Commit d4d8519

Browse files
committed
cleanup
1 parent 9c0db8d commit d4d8519

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/plugin/test_amdsmi_collector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def test_get_partition(collector):
298298
"""Test partition parsing with multi-JSON output"""
299299
p = collector.get_partition()
300300
assert p is not None
301-
# The mock now returns realistic multi-JSON output
302301
assert len(p.memory_partition) >= 1
303302
assert p.memory_partition[0].partition_type == "NPS1"
304303

@@ -400,7 +399,7 @@ def mock_cmd_error(cmd: str) -> MagicMock:
400399
assert data is not None
401400
assert data.version is None
402401
assert data.gpu_list == []
403-
assert len(result.events) > 0 # Should have error events
402+
assert len(result.events) > 0
404403

405404

406405
def test_multi_json_parsing(conn_mock, system_info, monkeypatch):

0 commit comments

Comments
 (0)