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

integration tests for register with activation keys and environments #3487

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jstavel
Copy link
Contributor

@jstavel jstavel commented Dec 31, 2024

Card-ID: CCT-1051

A DBus API provides a way to specify environment when using activation keys to register a system.

This PR provides integration tests to verify the way.

I've fixed a file 'integration-tests/README.md' - there were wrong activation keys specified.
It will be necessary to merge the fix into previous PR's that has something to do with activation keys.

A test:

Given a DBus Call RegisterWithActivationKeys is used to register a system
and the system is unregistered

When an argument 'environments' is filled with the proper environments
Then the application registers the system
and the environments are active property of a system identity.

Another test verifies a case when nonexisting environment is used for registration.

fix: reverted a change in test.sh to run post-activation-keys.sh again
fix: the right activation keys in README.md
Copy link

Coverage

Coverage (computed on Fedora latest) •
FileStmtsMissCoverMissing
TOTAL17432445874% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
2416 14 💤 0 ❌ 0 🔥 30.616s ⏱️

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.

1 participant