Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

tests: remove mocking of private ops class - #268

Open
tonyandrewmeyer wants to merge 1 commit into
canonical:mainfrom
tonyandrewmeyer:no-private-ops
Open

tonyandrewmeyer wants to merge 1 commit into
canonical:mainfrom
tonyandrewmeyer:no-private-ops

Conversation

@tonyandrewmeyer

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant