Skip to content

Conversation

@pkoprda
Copy link
Collaborator

@pkoprda pkoprda commented Jan 16, 2026

The fixture for checking that there is no egg-based content on the system was incorrect (it ran only once at the very beginning of the entire test run). This change fixes it so the fixture runs before every test.


This pull request is a backport of: #612

The fixture for checking that there is no egg-based content on the
system was incorrect (it ran only once at the very beginning of the
entire test run). This change fixes it so the fixture runs before every
test.

(cherry picked from commit 572672b)
The fixture check_no_egg_content() is currently checking if the
/var/lib/insights does not have any file. This approach is incorrect
since some commands create content in this directory (e.g. playbook
verifier creates gpg files to verify the playbooks, host-details.json
file is created in this directory by various tests). This commit updates
it to check only for egg-based files.

(cherry picked from commit 4b0e5c6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant