-
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
populate future date subscription in satellite #17550
base: master
Are you sure you want to change the base?
populate future date subscription in satellite #17550
Conversation
ad84c47
to
3958800
Compare
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.
One proposal..
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 to me, just put two nitpicks bellow.
sub_date = sub_datetime.date() | ||
|
||
# Compare the dates | ||
assert sub_date > current_date, "Subscription start date is not in the future" |
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.
assert sub_date > current_date, "Subscription start date is not in the future" | |
assert sub_date > current_date, 'Subscription start date is not in the future' |
session.subscription.delete_manifest( | ||
ignore_error_messages=['Danger alert: Katello::Errors::UpstreamConsumerNotFound'] | ||
) | ||
assert not session.subscription.has_manifest, 'Manifest did not delete' |
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.
assert not session.subscription.has_manifest, 'Manifest did not delete' | |
assert not session.subscription.has_manifest, 'Manifest was not deleted' |
Local test execution result:
|
Problem Statement
Future date subscription doesn't populated on Subscription page
https://issues.redhat.com/browse/SAT-29203
Solution
robottelo/conf/manifest.yaml
, add a new manifest blockRelated Issues
PRT test Cases example