Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix additional_files_or_dirs in skip check #3459

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Conversation

skeetmtp
Copy link
Contributor

@skeetmtp skeetmtp commented Mar 2, 2022

Issue: When no tests are found in self.directory but actually there is test in additional_files_or_dirs the whole Testinfra.execute() is skipped.
This commit fix this corner case by skipping Testinfra.execute() only if there is no tests neither in self.directory nor in additional_files_or_dirs

@github-actions github-actions bot added the bug label Mar 2, 2022
@ssbarnea ssbarnea merged commit be6cc6d into ansible:main Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants