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

Use ops.jujucontext._JujuContext in Scenario #1420

Open
tonyandrewmeyer opened this issue Oct 10, 2024 · 0 comments
Open

Use ops.jujucontext._JujuContext in Scenario #1420

tonyandrewmeyer opened this issue Oct 10, 2024 · 0 comments
Labels
25.04 small item testing Related to ops.testing

Comments

@tonyandrewmeyer
Copy link
Contributor

We should be able to simplify some of the code by using the new ops.jujucontext._JujuContext class to manage mocking the environment variables that normally come from Juju.

There's some compatibility code that can be cleaned out and replaced making proper use of a _JujuContext object.

Moved from canonical/ops-scenario#179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
25.04 small item testing Related to ops.testing
Projects
None yet
Development

No branches or pull requests

2 participants