We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92f321 commit 3f004cbCopy full SHA for 3f004cb
tests/unit/conftest.py
@@ -6,7 +6,6 @@
6
import ops
7
import pytest
8
import tomli
9
-
10
from charms.tempo_coordinator_k8s.v0.charm_tracing import charm_tracing_disabled
11
12
import snap
@@ -67,7 +66,10 @@ def patch(monkeypatch):
67
66
)
68
monkeypatch.setattr("mysql_shell.Shell.is_router_in_cluster_set", lambda *args, **kwargs: True)
69
monkeypatch.setattr("charm_refresh.Machines", _MockRefresh)
70
- monkeypatch.setattr("relations.database_requires.RelationEndpoint.does_relation_exist", lambda *args, **kwargs: True)
+ monkeypatch.setattr(
+ "relations.database_requires.RelationEndpoint.does_relation_exist",
71
+ lambda *args, **kwargs: True,
72
+ )
73
74
75
# flake8: noqa: C901
0 commit comments