Skip to content

Commit be0dc6e

Browse files
committed
Fix unit test
1 parent d9796fd commit be0dc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def test_on_update(
310310
_get_member_state.assert_called_once()
311311
_reboot_from_complete_outage.assert_called_once()
312312
_snap_service_operation.assert_called()
313-
_get_cluster_primary_address.assert_called_once()
313+
_get_cluster_primary_address.assert_not_called()
314314

315315
self.assertTrue(isinstance(self.harness.model.unit.status, MaintenanceStatus))
316316
# test instance state = unreachable

0 commit comments

Comments
 (0)