Skip to content

Commit

Permalink
fix UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Dec 10, 2024
1 parent 72b714e commit 1806983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def service(self):
@k8s_resource_multipatch
@patch("lightkube.core.client.GenericSyncClient")
@patch.multiple(
"ops.testing._TestingPebbleClient",
"ops._private.harness._TestingPebbleClient",
start_services=raise_if_called,
stop_services=raise_if_called,
restart_services=raise_if_called,
Expand Down Expand Up @@ -617,7 +617,7 @@ def test_no_restart_nor_reload_when_nothing_changes(self, reload_config_patch, *
@k8s_resource_multipatch
@patch("lightkube.core.client.GenericSyncClient")
@patch.multiple(
"ops.testing._TestingPebbleClient",
"ops._private.harness._TestingPebbleClient",
start_services=raise_if_called,
stop_services=raise_if_called,
restart_services=raise_if_called,
Expand Down

0 comments on commit 1806983

Please sign in to comment.