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: housekeeping, test_authentication.py #7509

Closed
wants to merge 1 commit into from

Conversation

danlavu
Copy link

@danlavu danlavu commented Jul 24, 2024

housekeeping, the following is looked at and may have been done:

  • fixed typos and standardized formatting
  • renamed test cases to improve the clarity of what the test does
  • improved docstring language, setup, steps and expected results
  • synced code with the docstring order
  • removed necessary configuration relevant to the test
  • added pytest.mark.importance to test cases

noteable changes:

  • big rename on the test case names, after discussing that some cases will have the positive and negative test, it no longers to be specified

(cherry picked from commit 7716d13)

@danlavu danlavu requested a review from alexey-tikhonov July 24, 2024 22:45
@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label Jul 25, 2024
@danlavu danlavu force-pushed the cherry-pick-test-auth branch 2 times, most recently from f25866a to 80c539f Compare July 26, 2024 05:52
@alexey-tikhonov
Copy link
Member

(cherry picked from commit ddea67c)

"This commit does not belong to any branch on this repository"

@danlavu danlavu force-pushed the cherry-pick-test-auth branch from 80c539f to 0a3acc9 Compare July 26, 2024 14:02
@danlavu
Copy link
Author

danlavu commented Aug 1, 2024

@alexey-tikhonov fixed.

housekeeping, the following is looked at and may have been done:
* fixed typos and standardized formatting
* renamed test cases to improve the clarity of what the test does
* improved docstring language, setup, steps and expected results
* synced code with the docstring order
* removed necessary configuration relevant to the test
* added pytest.mark.importance to test cases

noteable changes:
* big rename on the test case names, after discussing that some cases
  will have the positive and negative test, it no longers to be
  specified

(cherry picked from commit 7716d13)
@danlavu danlavu force-pushed the cherry-pick-test-auth branch from 0a3acc9 to 4aaef80 Compare August 13, 2024 13:06
@danlavu danlavu changed the title tests: housekeeping, test_authenticaiton.py tests: housekeeping, test_authentication.py Aug 13, 2024
@danlavu danlavu requested review from alexey-tikhonov and removed request for alexey-tikhonov August 13, 2024 13:07
@danlavu danlavu assigned thalman and unassigned sumit-bose Aug 13, 2024
@danlavu danlavu requested review from thalman and removed request for sumit-bose August 13, 2024 13:07
Copy link
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

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

Code-wise it looks good.

I would like to see more descriptive "Expected result" (Feel free to disagree ;-) ).

Tom

@danlavu danlavu requested a review from thalman August 14, 2024 13:18
@thalman
Copy link
Contributor

thalman commented Aug 14, 2024

CI failures are not related to the PR

Copy link
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

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

ACK

@thalman
Copy link
Contributor

thalman commented Aug 14, 2024

@jakub-vavra-cz, can we merge it?

Copy link
Contributor

@jakub-vavra-cz jakub-vavra-cz left a comment

Choose a reason for hiding this comment

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

LGTM

@jakub-vavra-cz
Copy link
Contributor

Pushed PR: #7509

  • sssd-2-9
    • 7622883 - tests: housekeeping, test_authenticaiton.py

@danlavu danlavu deleted the cherry-pick-test-auth branch November 4, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants