Skip to content

Tests: Add umockdev and virtsmarcard as test dependencies#8165

Merged
alexey-tikhonov merged 1 commit intoSSSD:sssd-2-9from
jakub-vavra-cz:autoskip-2-9
Nov 14, 2025
Merged

Tests: Add umockdev and virtsmarcard as test dependencies#8165
alexey-tikhonov merged 1 commit intoSSSD:sssd-2-9from
jakub-vavra-cz:autoskip-2-9

Conversation

@jakub-vavra-cz
Copy link
Contributor

We want to skip these tests automatically if they do not have the required environment available instead of manually blacklisting them from test suites.

Reviewed-by: Dan Lavu dlavu@redhat.com
Reviewed-by: Vema Kudumala vkudumal@redhat.com

@jakub-vavra-cz jakub-vavra-cz added Tests Trivial A single reviewer is sufficient to review the Pull Request no-backport This should go to target branch only. Waiting for review labels Nov 3, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds umockdev and virtualsmartcard as test dependencies to skip tests automatically when the environment is not available. The changes are generally good, but I've found a few issues in the newly added tests in test_passkey.py. There is a critical syntax error in a pytest marker, a missing import for the re module, and several tests are missing the umockdev dependency in their builtwith marker. These issues will cause tests to fail or not behave as expected. Please see my detailed comments for suggestions on how to fix them.

@jakub-vavra-cz jakub-vavra-cz force-pushed the autoskip-2-9 branch 4 times, most recently from 70ce229 to 949ce8e Compare November 3, 2025 12:38
Copy link
Contributor

@krishnavema krishnavema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall Looks Good To Me

We want to skip these tests automatically if they do not have
the required environment available instead of manually
blacklisting them from test suites.

Reviewed-by: Dan Lavu <dlavu@redhat.com>
Reviewed-by: Vema Kudumala <vkudumal@redhat.com>
Reviewed-by:
@sssd-bot
Copy link
Contributor

The pull request was accepted by @jakub-vavra-cz with the following PR CI status:


🟢 CodeQL (success)
🟢 rpm-build:centos-stream-9-x86_64:upstream (success)
🟢 Analyze (target) / All tests are successful (success)
🟢 Analyze (target) / cppcheck (success)
🟢 ci / All tests are successful (success)
🟢 ci / prepare (success)
🟢 ci / system (centos-9) (success)
🟢 Static code analysis / All tests are successful (success)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@alexey-tikhonov alexey-tikhonov merged commit 4f733b6 into SSSD:sssd-2-9 Nov 14, 2025
12 checks passed
@jakub-vavra-cz jakub-vavra-cz deleted the autoskip-2-9 branch January 15, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only. Tests Trivial A single reviewer is sufficient to review the Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants