diff --git a/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py b/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py index 96522c2a..c2bb1df3 100644 --- a/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py +++ b/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py @@ -136,7 +136,7 @@ def test_create_silence_new_silence( } ], ) - mock_fetch_url.assert_called_once_with( + mock_fetch_url.assert_called_with( module, "https://grafana.example.com/api/alertmanager/grafana/api/v2/silences", data=json.dumps( @@ -198,7 +198,7 @@ def test_delete_silence(self, mock_fetch_url, mock_get_version): grafana_iface = grafana_silence.GrafanaSilenceInterface(module) silence_id = "470b7116-8f06-4bb6-9e6c-6258aa92218e" result = grafana_iface.delete_silence(silence_id) - mock_fetch_url.assert_called_once_with( + mock_fetch_url.assert_called_with( module, "https://grafana.example.com/api/alertmanager/grafana/api/v2/silence/470b7116-8f06-4bb6-9e6c-6258aa92218e", data=None,