Skip to content

Commit 9659740

Browse files
remove old mocks
1 parent f361fdd commit 9659740

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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])

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ commands_pre =
4343
poetry install --only main,charm-libs,unit
4444
commands =
4545
# `--forked` workaround to deal with memory leaks in scenario tests
46-
poetry run pytest --forked --numprocesses 120 --cov=src --ignore={[vars]tests_path}/integration/ {posargs}
46+
poetry run pytest --cov=src --ignore={[vars]tests_path}/integration/ {posargs}
4747

4848
[testenv:integration]
4949
pass_env =

0 commit comments

Comments
 (0)