-
Notifications
You must be signed in to change notification settings - Fork 11
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
test: various misc changes #81
base: main
Are you sure you want to change the base?
Commits on Oct 25, 2024
-
test: use onlyImage() from cockpit test lib
Use the onlyImage() decorator provided by the test lib of cockpit, replacing the usage of our own skipUnlessDistroFamily(). There is no behaviour change.
Configuration menu - View commit details
-
Copy full SHA for f0d3626 - Browse repository at this point
Copy the full SHA f0d3626View commit details -
test: upload product certificates to /etc/pki/product-default
That is their canonical location.
Configuration menu - View commit details
-
Copy full SHA for 4dd64e5 - Browse repository at this point
Copy the full SHA 4dd64e5View commit details -
test: drop extra activation key code
The Python snippet to add a pool to an activation key in practice does not work anymore for two reasons: 1) the test data in the self-deployed Candlepin changed 2) the test account used is based on SCA and the result of the last POST in the script is: { "displayMessage" : "Multi-entitlement not supported for pool \"Pool [id: 8a8082e491b0fb160191b0fb37e20233, type: NORMAL, product: sfs, productName: Shared File System, quantity: 5]\"", "requestUuid" : "8e43664e-e720-4cb8-8a99-bfe3cd49af2c" } Especially because of (2), it is possible to get rid of the script altogether, and simply use the available activation keys. There is no behaviour change.
Configuration menu - View commit details
-
Copy full SHA for 3573ebd - Browse repository at this point
Copy the full SHA 3573ebdView commit details -
test: use curl directly to wait for Candlepin
Instead of running a Python script to wait for Candlepin to start, use curl to do the busy-wait loop. Keep the initial delay as-is, performing it inline. There should be no behaviour changes.
Configuration menu - View commit details
-
Copy full SHA for 5d4840a - Browse repository at this point
Copy the full SHA 5d4840aView commit details -
test: use f-strings to replace other string formattings
Use f-strings to replace C-like placeholders and format() calls. There is no behaviour change.
Configuration menu - View commit details
-
Copy full SHA for 7c42af1 - Browse repository at this point
Copy the full SHA 7c42af1View commit details -
test: use a simpler way to append content to a file
Use the existing API of a cockpit Machine, rather than running a shell command manually. There is no behaviour change.
Configuration menu - View commit details
-
Copy full SHA for 13ab574 - Browse repository at this point
Copy the full SHA 13ab574View commit details -
test: drop no more used machine_python() helper function
There are no more Python scripts to run as part of the tests.
Configuration menu - View commit details
-
Copy full SHA for baa7333 - Browse repository at this point
Copy the full SHA baa7333View commit details