-
Notifications
You must be signed in to change notification settings - Fork 114
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
pytest conversion for tests/foreman/cli/test_oscap.py #8011
Conversation
6a832f8
to
f99e5be
Compare
Codecov Report
@@ Coverage Diff @@
## master #8011 +/- ##
==========================================
- Coverage 66.27% 58.57% -7.71%
==========================================
Files 35 74 +39
Lines 4175 5793 +1618
==========================================
+ Hits 2767 3393 +626
- Misses 1408 2400 +992
Continue to review full report at Codecov.
|
@SatelliteQE/robottelo-tier-1-reviewers @SatelliteQE/robottelo-tier-2-reviewers need your review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! ACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks OK, but I'm unsure about introducing CLI methods inside api_fixtures
. I'll leave it to @jyejare to decide if that's ok and possibly merge PR.
We don't have nailgun support for it so I used CLI instead. I have created SatelliteQE/nailgun#753 issue for it and will work on it soon. |
Updated test results:
|
As suggested in the meeting, you should be adding ur CLI based fixture in separate fixture module. Later it will be moved to appropriate module with no impact on ur tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I do have one question for @jyejare. Is there going to be an effort in expanding the pytest_fixture
directory if we're heading in this direction for CLI? I feel that one CLI pytest_fixture
is good enough (like api) unless there's a good reason otherwise.
@latran I would take ur question as whether Ans: Even though we divide the fixtures satellite-endpoints wise, the fixture module for each endpoint will have a huge number of fixtures aka bulky. So either we can choose to :
With 2nd all the related components will stay together with no bulky / no light fixture module. Still always open for thoughts from @SatelliteQE/airgun-tier-2-reviewers ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK pending comments / questions.
84c4d2e
to
2d6b468
Compare
@jyejare have all of your comments been addressed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK pending resolve conflicts.
4059518
to
18b54b3
Compare
@jyejare done. |
Thanks everyone |
Test result: