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: alltests/test_offline.py converted to system/tests/test_offline.py #7000

Closed
wants to merge 1 commit into from

Conversation

patriki01
Copy link
Contributor

@patriki01 patriki01 commented Oct 25, 2023

I converted two offline tests for LDAP.
I also edited the original test test_0002_bz1928648 because it was not reverting iptables command if the test failed.

Blocked by : next-actions/pytest-mh#23

Copy link
Contributor

@ikerexxe ikerexxe left a comment

Choose a reason for hiding this comment

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

Minor comments inline

src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
@patriki01
Copy link
Contributor Author

Fixed your remarks

@patriki01 patriki01 force-pushed the offline branch 2 times, most recently from 87356c5 to 31c56fd Compare October 30, 2023 07:28
@ikerexxe
Copy link
Contributor

Code LGTM, but I won't approve this PR until SSSD/sssd-test-framework#54 is merged and CI is green.

@patriki01
Copy link
Contributor Author

We moved journalctl command to new repo, so I reflect this change.
This PR is now block by: next-actions/pytest-mh#23

@patriki01
Copy link
Contributor Author

Converted tests are green, we can proceed. @ikerexxe @danlavu

Copy link
Contributor

@ikerexxe ikerexxe left a comment

Choose a reason for hiding this comment

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

Some minor comments

src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
Copy link
Contributor

@ikerexxe ikerexxe left a comment

Choose a reason for hiding this comment

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

LGTM! It was good work on your part.

@patriki01
Copy link
Contributor Author

@danlavu can we proceed?

Copy link

@danlavu danlavu left a comment

Choose a reason for hiding this comment

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

Two nitpicks, other than that, it looks great.

src/tests/system/tests/test_offline.py Show resolved Hide resolved
src/tests/system/tests/test_offline.py Outdated Show resolved Hide resolved
Copy link

@danlavu danlavu left a comment

Choose a reason for hiding this comment

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

LG2M

@jakub-vavra-cz
Copy link
Contributor

Pushed PR: #7000

  • master
    • ea7de58 - Tests: alltests/test_offline.py converted
  • sssd-2-9
    • bd9cf6f - Tests: alltests/test_offline.py converted

@jakub-vavra-cz jakub-vavra-cz added Pushed and removed Accepted Ready to push Ready to push labels Jan 5, 2024
@patriki01 patriki01 deleted the offline branch January 8, 2024 06:13
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.

4 participants