88REPO_ROOT = Path (__file__ ).parent .resolve ()
99
1010
11- @pytest .fixture ()
11+ @pytest .fixture
1212def notebook_path (
1313 # Create and activate a new venv for each test that requests `notebook_path`
1414 venv : types .SimpleNamespace , # noqa: ARG001
@@ -18,7 +18,7 @@ def notebook_path(
1818 return notebook_path
1919
2020
21- @pytest .fixture ()
21+ @pytest .fixture
2222def deployment_outputs () -> Dict [str , str ]:
2323 """The outputs of the deployment used to setup resources for testing samples.
2424
@@ -43,7 +43,7 @@ def deployment_outputs() -> Dict[str, str]:
4343 return {output_name : output ["value" ] for output_name , output in outputs .items ()}
4444
4545
46- @pytest .fixture ()
46+ @pytest .fixture
4747def azure_ai_project (deployment_outputs : Dict [str , str ]) -> Dict [str , str ]:
4848 """Azure ai project dictionary."""
4949 return {
@@ -53,7 +53,7 @@ def azure_ai_project(deployment_outputs: Dict[str, str]) -> Dict[str, str]:
5353 }
5454
5555
56- @pytest .fixture ()
56+ @pytest .fixture
5757def azure_ai_project_connection_string (deployment_outputs : Dict [str , str ]) -> str :
5858 """The connection string for the azure ai project"""
5959 return ";" .join (
@@ -66,19 +66,19 @@ def azure_ai_project_connection_string(deployment_outputs: Dict[str, str]) -> st
6666 )
6767
6868
69- @pytest .fixture ()
69+ @pytest .fixture
7070def azure_openai_endpoint (deployment_outputs : Dict [str , str ]) -> str :
7171 """The azure openai endpoint for the azure ai project."""
7272 return deployment_outputs ["azure_openai_endpoint" ]
7373
7474
75- @pytest .fixture ()
75+ @pytest .fixture
7676def azure_openai_gpt4_deployment (deployment_outputs : Dict [str , str ]) -> str :
7777 """The deployment name of the gpt-4 deployment."""
7878 return deployment_outputs ["azure_openai_gpt4_deployment_name" ]
7979
8080
81- @pytest .fixture ()
81+ @pytest .fixture
8282def azure_openai_gpt4_api_version (deployment_outputs : Dict [str , str ]) -> str :
8383 """The api version of the gpt-4 deployment."""
8484 return deployment_outputs ["azure_openai_gpt4_api_version" ]
0 commit comments