diff --git a/tests/deprecations_ignore.yml b/tests/deprecations_ignore.yml index 36a27794cbd7f..40aede88d045e 100644 --- a/tests/deprecations_ignore.yml +++ b/tests/deprecations_ignore.yml @@ -201,9 +201,6 @@ - tests/providers/google/cloud/secrets/test_secret_manager.py::TestCloudSecretManagerBackend::test_get_conn_uri_non_existent_key - tests/providers/google/cloud/sensors/test_gcs.py::TestTsFunction::test_should_support_cron - tests/providers/google/cloud/sensors/test_gcs.py::TestTsFunction::test_should_support_datetime -- tests/providers/google/cloud/transfers/test_azure_fileshare_to_gcs.py::TestAzureFileShareToGCSOperator::test_execute -- tests/providers/google/cloud/transfers/test_azure_fileshare_to_gcs.py::TestAzureFileShareToGCSOperator::test_execute_with_gzip -- tests/providers/google/cloud/transfers/test_azure_fileshare_to_gcs.py::TestAzureFileShareToGCSOperator::test_init - tests/providers/google/cloud/transfers/test_bigquery_to_postgres.py::TestBigQueryToPostgresOperator::test_execute_good_request_to_bq - tests/providers/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_copy_files_into_a_folder - tests/providers/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_last_modified_time @@ -223,5 +220,4 @@ - tests/providers/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_all_true_cond - tests/providers/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_one_true_cond - tests/providers/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_no_last_modified_time -- tests/providers/microsoft/azure/hooks/test_adx.py::TestAzureDataExplorerHook::test_backcompat_prefix_works - tests/providers/microsoft/psrp/hooks/test_psrp.py::TestPsrpHook::test_invoke_cmdlet_deprecated_kwargs diff --git a/tests/providers/microsoft/azure/hooks/test_adx.py b/tests/providers/microsoft/azure/hooks/test_adx.py index 55936bce8f602..e2001c93848d3 100644 --- a/tests/providers/microsoft/azure/hooks/test_adx.py +++ b/tests/providers/microsoft/azure/hooks/test_adx.py @@ -281,16 +281,11 @@ def test_run_query(self, mock_execute, mocked_connection): @pytest.mark.parametrize( "mocked_connection", [ - pytest.param( - "a://usr:pw@host?extra__azure_data_explorer__tenant=my-tenant" - "&extra__azure_data_explorer__auth_method=AAD_APP", - id="prefix", - ), pytest.param("a://usr:pw@host?tenant=my-tenant&auth_method=AAD_APP", id="no-prefix"), ], - indirect=True, + indirect=["mocked_connection"], ) - def test_backcompat_prefix_works(self, mocked_connection): + def test_prefix_works(self, mocked_connection): hook = AzureDataExplorerHook(azure_data_explorer_conn_id=mocked_connection.conn_id) assert hook.connection._kcsb.data_source == "host" assert hook.connection._kcsb.application_client_id == "usr" @@ -307,7 +302,7 @@ def test_backcompat_prefix_works(self, mocked_connection): ], indirect=True, ) - def test_backcompat_prefix_both_causes_warning(self, mocked_connection): + def test_prefix_both_causes_warning(self, mocked_connection): hook = AzureDataExplorerHook(azure_data_explorer_conn_id=mocked_connection.conn_id) assert hook.connection._kcsb.data_source == "host" assert hook.connection._kcsb.application_client_id == "usr"