You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As _TestingModelBackend is a private class, no guarantees are made about compatibility, and the tests relying on patching this class will break in an upcoming ops release.
The patching is actually no longer required with recent versions of ops, so mostly the patching can just be removed, with the occasional add_network call potentially required.
If any assistance is required, please reach out to @canonical/charm-tech and we'll be happy to help!
I believe all the changes you require are in this commit but I can't run the unit tests of this charm locally, so am not sure whether I can just open a PR from that.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behavior
No results.
Actual behavior
Results.
Versions
Operating system: N/A
Juju CLI: N/A
Juju agent: N/A
Charm revision: N/A
LXD: N/A
Log output
Juju debug log: N/A
Additional context
As
_TestingModelBackend
is a private class, no guarantees are made about compatibility, and the tests relying on patching this class will break in an upcoming ops release.The patching is actually no longer required with recent versions of ops, so mostly the patching can just be removed, with the occasional
add_network
call potentially required.You can use these PRs as examples if needed:
If any assistance is required, please reach out to @canonical/charm-tech and we'll be happy to help!
I believe all the changes you require are in this commit but I can't run the unit tests of this charm locally, so am not sure whether I can just open a PR from that.
The text was updated successfully, but these errors were encountered: