-
Notifications
You must be signed in to change notification settings - Fork 115
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
[Repository Rewrite] Test for disabling rh repository with basearch #12777
[Repository Rewrite] Test for disabling rh repository with basearch #12777
Conversation
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, just curious about that one piece
) | ||
repo = module_target_sat.api.Repository(id=rh_repo_id).read() | ||
repo.sync(timeout=2000) | ||
module_target_sat.execute( |
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.
Is this line just to basically assert that the repo was synced correctly?
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.
to be clear, I'm referring to the repo list call after line 85
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.
If so we should add an assertion
trigger: test-robottelo |
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 comment
) | ||
repo = module_target_sat.api.Repository(id=rh_repo_id).read() | ||
repo.sync(timeout=2000) | ||
module_target_sat.execute( |
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.
If so we should add an assertion
c848e9b
to
ea58fe4
Compare
@Gauravtalreja1 @Griffin-Sullivan @sambible @shubhamsg199 Addressed comments
|
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, with a few suggestions
e971266
to
4fa36b0
Compare
trigger: test-robottelo |
trigger: test-robottelo |
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! prt pending
Test for disabling a red hat repository with basearch set
BZ: 1932486
Steps: