Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions tests/deprecations_ignore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
11 changes: 3 additions & 8 deletions tests/providers/microsoft/azure/hooks/test_adx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down