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 mocking of private ops class #268

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

Conversation

tonyandrewmeyer
Copy link

The _TestingModelBackend class is private, so no subject to any compatibility guarantees. The test that mocks a method on this class will break in an upcoming ops release.

The mocking is actually not required with modern ops, so can just be removed.

@tonyandrewmeyer tonyandrewmeyer requested a review from a team as a code owner September 12, 2024 06:22
orfeas-k added a commit to canonical/minio-operator that referenced this pull request Dec 10, 2024
orfeas-k added a commit to canonical/notebook-operators that referenced this pull request Dec 10, 2024
orfeas-k added a commit to canonical/minio-operator that referenced this pull request Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131
* Update python dependencies using 'tox -e update-requirements'
* Remove unused pytest-lazy-fixture package
* Remove mocking of private ops class according to canonical/operator#1369 and canonical/seldon-core-operator#268

Ref canonical/bundle-kubeflow#1177
Ref canonical/bundle-kubeflow#1185
orfeas-k added a commit to canonical/notebook-operators that referenced this pull request Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131
* Update python dependencies using 'tox -e update-requirements'
* Remove mocking of private ops class according to canonical/operator#1369 and canonical/seldon-core-operator#268
* Pin blinker due to seleniumbase/SeleniumBase#2782

Ref canonical/bundle-kubeflow#1177
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