@@ -10,7 +10,7 @@ def test_azure_service_principal_info_crawl():
1010 cluster_ids = ['azure-spn-secret' , 'simplest-autoscale' ],
1111 pipeline_ids = ['spec-with-spn' ],
1212 job_ids = ['some-spn' ],
13- warehouse_config = "spn-config.json " ,
13+ warehouse_config = "spn-config" ,
1414 secret_exists = True ,
1515 )
1616 spn_crawler = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
@@ -23,7 +23,7 @@ def test_azure_service_principal_info_spark_conf_crawl():
2323 cluster_ids = ['simplest-autoscale' ],
2424 pipeline_ids = ['empty-spec' ],
2525 job_ids = ['some-spn' ],
26- warehouse_config = "spn-config.json " ,
26+ warehouse_config = "spn-config" ,
2727 )
2828
2929 spn_crawler = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
@@ -36,7 +36,7 @@ def test_azure_service_principal_info_no_spark_conf_crawl():
3636 cluster_ids = ['simplest-autoscale' ],
3737 pipeline_ids = ['empty-spec' ],
3838 job_ids = ['single-job' ],
39- warehouse_config = "single-config.json " ,
39+ warehouse_config = "single-config" ,
4040 )
4141
4242 spn_crawler = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
@@ -70,7 +70,7 @@ def test_list_all_cluster_with_spn_in_spark_conf_with_secret():
7070
7171def test_list_all_wh_config_with_spn_no_secret ():
7272 ws = workspace_client_mock (
73- cluster_ids = ['simplest-autoscale' ], pipeline_ids = ['empty-spec' ], warehouse_config = "spn-config.json "
73+ cluster_ids = ['simplest-autoscale' ], pipeline_ids = ['empty-spec' ], warehouse_config = "spn-config"
7474 )
7575 result_set = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
7676
@@ -84,7 +84,7 @@ def test_list_all_wh_config_with_spn_and_secret():
8484 ws = workspace_client_mock (
8585 cluster_ids = ['simplest-autoscale' ],
8686 pipeline_ids = ['empty-spec' ],
87- warehouse_config = "spn-secret-config.json " ,
87+ warehouse_config = "spn-secret-config" ,
8888 secret_exists = True ,
8989 )
9090 result_set = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
@@ -107,7 +107,7 @@ def test_azure_service_principal_info_policy_conf():
107107 cluster_ids = ['policy-single-user-with-spn' , 'policy-azure-oauth' ],
108108 pipeline_ids = ['spec-with-spn' ],
109109 job_ids = ['policy-single-job-with-spn' ],
110- warehouse_config = "spn-config.json " ,
110+ warehouse_config = "spn-config" ,
111111 secret_exists = True ,
112112 )
113113 spn_crawler = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
@@ -120,7 +120,7 @@ def test_azure_service_principal_info_dedupe():
120120 cluster_ids = ['policy-single-user-with-spn' ],
121121 pipeline_ids = ['spec-with-spn' ],
122122 job_ids = ['policy-single-job-with-spn' ],
123- warehouse_config = "dupe-spn-config.json " ,
123+ warehouse_config = "dupe-spn-config" ,
124124 secret_exists = True ,
125125 )
126126 spn_crawler = AzureServicePrincipalCrawler (ws , MockBackend (), "ucx" ).snapshot ()
0 commit comments