Skip to content

Commit 1357cbe

Browse files
committed
cleanup
1 parent f940dc9 commit 1357cbe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/unit/plugin/test_kernel_module_analyzer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def data_model(sample_modules):
3131

3232
@pytest.fixture
3333
def analyzer(system_info):
34-
# ensure no SystemCompatibilityError
3534
system_info.os_family = OSFamily.LINUX
3635
return KernelModuleAnalyzer(system_info=system_info)
3736

@@ -49,7 +48,6 @@ def test_filter_modules_by_pattern_strict(sample_modules, analyzer):
4948

5049

5150
def test_filter_modules_by_pattern_unmatched(sample_modules, analyzer):
52-
# pattern "foo" never matches
5351
matched, unmatched = analyzer.filter_modules_by_pattern(sample_modules, ["foo"])
5452
assert matched == {}
5553
assert unmatched == ["foo"]
@@ -88,7 +86,6 @@ def test_analyze_data_regex_success(data_model, analyzer):
8886
assert result.status == ExecutionStatus.OK
8987
ev = result.events[0]
9088
assert ev.description == "KernelModules analyzed"
91-
# only TESTmod should have been kept
9289
fm = ev.data["filtered_modules"]
9390
assert set(fm) == {"TESTmod"}
9491

0 commit comments

Comments
 (0)