@@ -62,7 +62,7 @@ def __init__(
6262 self .account_name = account_name or os .environ .get ("AZURITE_ACCOUNT_NAME" , "devstoreaccount1" )
6363 self .account_key = account_key or os .environ .get (
6464 "AZURITE_ACCOUNT_KEY" ,
65- "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/" " K1SZFPTOtr/KBHBeksoGMGw==" ,
65+ "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" ,
6666 )
6767
6868 raise_for_deprecated_parameter (kwargs , "ports_to_expose" , "container.with_exposed_ports" )
@@ -76,28 +76,22 @@ def __init__(
7676 def get_connection_string (self ) -> str :
7777 host_ip = self .get_container_host_ip ()
7878 connection_string = (
79- f"DefaultEndpointsProtocol=http;" f" AccountName={ self .account_name } ;" f" AccountKey={ self .account_key } ;"
79+ f"DefaultEndpointsProtocol=http;AccountName={ self .account_name } ;AccountKey={ self .account_key } ;"
8080 )
8181
8282 if self .blob_service_port in self .ports :
8383 connection_string += (
84- f"BlobEndpoint=http://{ host_ip } :"
85- f"{ self .get_exposed_port (self .blob_service_port )} "
86- f"/{ self .account_name } ;"
84+ f"BlobEndpoint=http://{ host_ip } :{ self .get_exposed_port (self .blob_service_port )} /{ self .account_name } ;"
8785 )
8886
8987 if self .queue_service_port in self .ports :
9088 connection_string += (
91- f"QueueEndpoint=http://{ host_ip } :"
92- f"{ self .get_exposed_port (self .queue_service_port )} "
93- f"/{ self .account_name } ;"
89+ f"QueueEndpoint=http://{ host_ip } :{ self .get_exposed_port (self .queue_service_port )} /{ self .account_name } ;"
9490 )
9591
9692 if self .table_service_port in self .ports :
9793 connection_string += (
98- f"TableEndpoint=http://{ host_ip } :"
99- f"{ self .get_exposed_port (self .table_service_port )} "
100- f"/{ self .account_name } ;"
94+ f"TableEndpoint=http://{ host_ip } :{ self .get_exposed_port (self .table_service_port )} /{ self .account_name } ;"
10195 )
10296
10397 return connection_string
0 commit comments