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 running pytests with empty slot-filters #205

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

pawpiatko
Copy link
Contributor

Add checking if slot_filter is not empty, otherwise all devices will be filted out when running tests with empty filters:
--slot-filters="" and finally test result is SKIPPED.

To reproduce issue please run tests using command:
pytest tests --ledctl-binary=src/ledctl/ledctl --slot-filters=""

Add checking if slot_filter is not empty, otherwise all devices
will be filted out when running tests with empty filters:
--slot-filters="" and finally test result is SKIPPED.

To reproduce issue please run tests using command:
pytest tests --ledctl-binary=src/ledctl/ledctl --slot-filters=""

Signed-off-by: Pawel Piatkowski <[email protected]>
@mtkaczyk mtkaczyk merged commit 6e6696a into intel:master Feb 5, 2024
11 checks passed
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.

3 participants