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

tests: Add feature presence test suite #7597

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakub-vavra-cz
Copy link
Contributor

We need to check that features are present where expected.

We need to check that features are present where expected.
@jakub-vavra-cz jakub-vavra-cz added Tests backport-to-stable Targets also latest stable branch labels Sep 16, 2024
if "Fedora" in client.host.distro_name:
expect_passkey = client.host.distro_major >= 39
elif "Red Hat Enterprise Linux" in client.host.distro_name:
expect_passkey = expect_passkey = bool((client.host.distro_major == 9 and client.host.distro_minor >= 4) or client.host.distro_major > 9)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning test

This assignment to 'expect_passkey' is unnecessary as it is
redefined
before this value is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-stable Targets also latest stable branch Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant