-
Notifications
You must be signed in to change notification settings - Fork 10
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
[MISC] Fix unit tests and add juju 3.6 test runs #202
Conversation
dragomirp
commented
Jan 14, 2025
•
edited
Loading
edited
- Fix unit test failures e.g. here
- Add juju 3.6 to the integration test matrix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should most probably also remove some of the other Juju 3 versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deusebio @delgod @Mehdi-Bendriss do you mind to clean the list here and keep 2.9 and 3.6 LTS only?
LGTM from me to test supported Juju releases only.
@@ -43,14 +43,14 @@ def test_cached_secret_is_cached(harness, mocker): | |||
secret = CachedSecret(harness.charm, "mylabel") | |||
secret.add_secret(content={"rumour": "Community Movie on the way"}, scope="app") | |||
patched_get = mocker.patch("ops.model.Model.get_secret") | |||
patched_get_content = mocker.patch("ops.Secret.get_content") | |||
patched_get_content = patched_get.return_value.get_content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_content()
is called from the mock get_secret()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deusebio @delgod @Mehdi-Bendriss do you mind to clean the list here and keep 2.9 and 3.6 LTS only?
LGTM from me to test supported Juju releases only.