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

Use sAMAccountName #12814

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Use sAMAccountName #12814

merged 1 commit into from
Oct 17, 2023

Conversation

lhellebr
Copy link
Contributor

@lhellebr lhellebr commented Oct 4, 2023

No description provided.

@lhellebr lhellebr requested a review from a team as a code owner October 4, 2023 13:44
@lhellebr lhellebr added CherryPick PR needs CherryPick to previous branches 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 labels Oct 4, 2023
@@ -127,7 +127,7 @@ def test_positive_refresh_usergroup_with_ad(self, member_group, ad_data):
'attr-firstname': LDAP_ATTR['firstname'],
'attr-lastname': LDAP_ATTR['surname'],
'attr-mail': LDAP_ATTR['mail'],
'account': ad_data['ldap_user_name'],
'account': fr"{ad_data['workgroup']}\{ad_data['ldap_user_name']}",
Copy link
Contributor

Choose a reason for hiding this comment

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

This made me learn something about formatted and raw strings together @lhellebr :)

Copy link
Contributor

@adarshdubey-star adarshdubey-star left a comment

Choose a reason for hiding this comment

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

Ack

@adarshdubey-star
Copy link
Contributor

Let's have a PRT run and we can merge this!

@@ -127,7 +127,7 @@ def test_positive_refresh_usergroup_with_ad(self, member_group, ad_data):
'attr-firstname': LDAP_ATTR['firstname'],
'attr-lastname': LDAP_ATTR['surname'],
'attr-mail': LDAP_ATTR['mail'],
'account': ad_data['ldap_user_name'],
'account': fr"{ad_data['workgroup']}\{ad_data['ldap_user_name']}",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick comment about flipping the strings :)

Suggested change
'account': fr"{ad_data['workgroup']}\{ad_data['ldap_user_name']}",
'account': fr'{ad_data["workgroup"]}\{ad_data["ldap_user_name"]}',

@lhellebr
Copy link
Contributor Author

lhellebr commented Oct 6, 2023

trigger: test-robottelo
pytest: tests/foreman/cli/test_ldapauthsource.py::test_positive_refresh_usergroup_with_ad

1 similar comment
@Gauravtalreja1
Copy link
Collaborator

trigger: test-robottelo
pytest: tests/foreman/cli/test_ldapauthsource.py::test_positive_refresh_usergroup_with_ad

@lhellebr
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_ldapauthsource.py::TestADAuthSource::test_positive_refresh_usergroup_with_ad

1 similar comment
@lhellebr
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_ldapauthsource.py::TestADAuthSource::test_positive_refresh_usergroup_with_ad

@sambible sambible merged commit ed25cc4 into SatelliteQE:master Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants