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 support for IPA IPA Trust #7517

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

Conversation

justin-stephenson
Copy link
Contributor

Add tests for new IPA Trust topologies in SSSD test framework.

Linked PRs:

SSSD/sssd-ci-containers#106
SSSD/sssd-test-framework#119


@pytest.mark.importance("low")
@pytest.mark.topology(KnownTopologyGroup.AnyIPATrust)
def test_ipa_trusts__ipa_server_trusted_user_lookup(ipa: IPA, trusted: IPA):
Copy link

Choose a reason for hiding this comment

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

I think a better name would be

test_ipa_trusts__on_the_ipa_master_lookup_a_trusted_user"

Just to make it a little clearer that the test doesn't use a client.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this to test_ipa_trusts__ipa_master_lookup_trusted_user, just to be a bit more concise.


@pytest.mark.importance("low")
@pytest.mark.topology(KnownTopology.IPATrustIPA)
def test_ipa_trusts__ipa_client_trusted_user_lookup(client: Client, ipa: IPA, trusted: IPA):
Copy link

Choose a reason for hiding this comment

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

Like all the other tests, we can assume it uses the client.

test_ipa_trusts__lookup_a_trusted_user

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to test_ipa_trusts__lookup_trusted_user

@pbrezina
Copy link
Member

Hi, I added blocked label since I think we should not merge it until new IPA is released. We should also add conditional skip based on feature detection.

@justin-stephenson
Copy link
Contributor Author

Updated mhc.yaml based on SSSD/sssd-test-framework#119 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants