Skip to content

Commit

Permalink
test: Correctly check for tracer presence in TestUpdates.testInfoSecu…
Browse files Browse the repository at this point in the history
…rity

OSesWithoutTracer is a list of globs.
  • Loading branch information
mvollmer committed Dec 5, 2024
1 parent 78faf8b commit 2708fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verify/check-packagekit
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ ExecStart=/usr/local/bin/{packageName}
b.click(".pf-v5-c-expandable-section__toggle")
self.assertHistory(".pf-v5-c-expandable-section ul", ["buggy", "norefs-bin", "norefs-doc"])

if m.image in OSesWithoutTracer:
if any(fnmatch.fnmatch(m.image, img) for img in OSesWithoutTracer):
# do the reboot; this will disconnect the web UI
b.click("#app .pf-v5-c-empty-state button.pf-m-primary")
b.wait_visible("#shutdown-dialog")
Expand Down

0 comments on commit 2708fa2

Please sign in to comment.