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 716e5fdf..d1941060 100644 --- a/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py +++ b/tests/unit/modules/grafana/grafana_silence/test_grafana_silence.py @@ -177,10 +177,10 @@ def test_create_silence_new_silence( "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.get_version" ) @patch( - "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.datasource_by_name" + "ansible_collections.community.grafana.plugins.modules.grafana_silence.fetch_url" ) @patch( - "ansible_collections.community.grafana.plugins.modules.grafana_silence.fetch_url" + "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.datasource_by_name" ) def test_create_silence_new_silence_with_datasource( self, @@ -309,10 +309,10 @@ def test_delete_silence(self, mock_fetch_url, mock_get_version): "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.get_version" ) @patch( - "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.datasource_by_name" + "ansible_collections.community.grafana.plugins.modules.grafana_silence.fetch_url" ) @patch( - "ansible_collections.community.grafana.plugins.modules.grafana_silence.fetch_url" + "ansible_collections.community.grafana.plugins.modules.grafana_silence.GrafanaSilenceInterface.datasource_by_name" ) def test_delete_silence_with_datasource( self, mock_fetch_url, mock_get_version, mock_datasource_by_name