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

- Use the "baseproduct" link as indicator of the product, SLES vs. SL… #208

Merged
merged 3 commits into from
Jul 2, 2019

Conversation

rjschwei
Copy link
Collaborator

…ES4SAP

  • If the baseproduct link is not correct then registration would also not
    be correct. Thus the link is a more reliable indicator as compared to the
    information in os-release

…ES4SAP

  + If the baseproduct link is not correct then registration would also not
    be correct. Thus the link is a more reliable indicator as compared to the
    information in os-release
@rjschwei rjschwei requested a review from smarlowucf June 26, 2019 15:33
usr/share/lib/img_proof/tests/conftest.py Outdated Show resolved Hide resolved
usr/share/lib/img_proof/tests/conftest.py Outdated Show resolved Hide resolved
usr/share/lib/img_proof/tests/conftest.py Outdated Show resolved Hide resolved
- Check baseproduct link in is_sles_sap fixture.
- Inject is_sles_sap fixture into get_smt_servers fixture.
@smarlowucf
Copy link
Collaborator

@rjschwei Updated per comments.

  + When we get the base product information it is unknown if it is "sles"
    or some other baseproduct. Therefore the function name should not include
    a specific product name. This would imply the the function makes a
    judgement whether or not the baseproduct matches the product in the name.
@rjschwei
Copy link
Collaborator Author

rjschwei commented Jul 2, 2019

@smarlowucf thanks for the help, just made a name change from "get_sles_baseproduct" to "get_baseproduct" having "sles" in the name would imply we are looking for SLES, but the implementation doesn't care it will return whatever "baseproduct" links to, which is what we want.

@smarlowucf smarlowucf merged commit a0bdde7 into master Jul 2, 2019
@smarlowucf smarlowucf deleted the improveProdTest branch July 2, 2019 20:43
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.

2 participants