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

Add ec2 tests to check billing code in metadata. #81

Merged
merged 2 commits into from Jun 21, 2018
Merged

Conversation

smarlowucf
Copy link
Collaborator

For byos images the billingProducts should be None. And for on demand the billingProducts should be a list of strings.

@smarlowucf smarlowucf requested a review from rjschwei May 21, 2018 19:44
@smarlowucf
Copy link
Collaborator Author

Moving shared code to conftest...

For byos images the billingProducts should be None. And for on
demand the billingProducts should be a list of strings.
@smarlowucf
Copy link
Collaborator Author

Okay re-based removing duplication.

@smarlowucf
Copy link
Collaborator Author

@rjschwei Look good?

@@ -0,0 +1,4 @@


def test_sles_ec2_billing_code(get_ec2_billing_products):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add the following.

"""This is really ONLY for SLES. All other on-demand products are sold through the Marketplace and they do not have a billing-product-code."""

@rjschwei rjschwei merged commit d7255ab into master Jun 21, 2018
@smarlowucf smarlowucf deleted the billing-codes branch June 21, 2018 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants