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 DBus Call RegisterWithActivationKeys #3486

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

Conversation

jstavel
Copy link
Contributor

@jstavel jstavel commented Dec 20, 2024

Card-ID: CCT-1051

see https://www.candlepinproject.org/docs/subscription-manager/dbus_objects.html
It is a DBus Method RegisterWithActivationKeys.

This PR covers happy path and wrong path for registering with activation keys.

There can be even wrong organization in a case with activation keys.
The method should provides a useful response when something wrong was used in arguments of the method.

Copy link

github-actions bot commented Dec 20, 2024

Coverage

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

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

Copy link
Contributor

@jirihnidek jirihnidek left a comment

Choose a reason for hiding this comment

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

Thanks for PR. Overall good, I have only two requests.

integration-tests/test_register_with_activation_keys.py Outdated Show resolved Hide resolved
@@ -42,7 +42,6 @@ EOF
./integration-tests/scripts/run-local-candlepin.sh

# create testing data in local candlepin
./integration-tests/scripts/post-activation-keys.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

This change should not be part of this PR. It is already part of another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I will revert this change .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reverted

Copy link
Contributor

Choose a reason for hiding this comment

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

@jstavel can you please remove this change from this commit and PR?

@jstavel jstavel force-pushed the jstavel/integration-tests-for-dbus-call-register-with-activation-keys branch 3 times, most recently from 7abb8d2 to 8e1ed05 Compare December 30, 2024 10:33
CCT-1051: reverted a change in test.sh to run post-activation-keys.sh again
CCT-1051: added tests for wrong cases

CCT-746: use the origin activation keys - presented in a test data
@jstavel jstavel force-pushed the jstavel/integration-tests-for-dbus-call-register-with-activation-keys branch from 8e1ed05 to b2ab7ea Compare January 13, 2025 17:48
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