This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing tests after change from ops lib (#18)
The tests were depending on private methods from ops, which could change at any time. In the latest release of ops (2.16.0 at time of writing), `ops.main._get_charm_dir()` was removed, and the signature of `ops.main._emit_charm_event()` changed. Update the charm test code to stop depending on these private methods, replacing with public stable methods, fixing the tests.
- Loading branch information
1 parent
e44fa5a
commit d05506f
Showing
1 changed file
with
3 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters