-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Prepare test proxy for Python SDK test
When you run SDK tests for the first time, please follow these steps to prepare your environment:
1. Install Docker
Note: This step can be skipped as of March 23, 2023 if your local repository is up-to-date with the azure-sdk-for-python
repo. PR #28941 dropped the Docker requirement for running the test proxy.
The test proxy uses a self-signed certificate to communicate with HTTPS. Follow the general setup instructions here to trust this certificate locally.
If your local repository is up-to-date with the azure-sdk-for-python
repo as of March 23, 2023, this setup should be sufficient. Otherwise, you'll need to run the Python-specific setup instructions as well.
The test proxy tool needs to be running in order for tests to use recordings; this can be done automatically through a conftest.py
file. Refer to the test proxy startup instructions in the repository's general testing guide to configure this functionality.