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

tests: remove ops.testing patch that is no longer required #639

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

Conversation

tonyandrewmeyer
Copy link
Contributor

Issue

The tests currently patch a private class in ops.testing, which will no longer work in an upcoming version of ops (no compatibility guarantees are provided for private objects).

Solution

It seems like the patching is no longer required with the way that network_get is handled with Harness now, so it's removed. In a small number of cases a specific network is added to the Harness instead.

Context

ops?

Testing Instructions

Run the unit tests.

Upgrade Notes

N/A

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.

1 participant