Skip to content

Commit 251b6e2

Browse files
remove old mocks
1 parent f361fdd commit 251b6e2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/unit/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ def kubernetes_patch(monkeypatch):
9393
"charm.KubernetesRouterCharm.get_all_k8s_node_hostnames_and_ips",
9494
lambda *args, **kwargs: None,
9595
)
96-
monkeypatch.setattr("kubernetes_upgrade._Partition.get", lambda *args, **kwargs: 0)
97-
monkeypatch.setattr("kubernetes_upgrade._Partition.set", lambda *args, **kwargs: None)
9896

9997

10098
@pytest.fixture(params=[True, False])

0 commit comments

Comments
 (0)