You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AZURE_TEST_USE_CLI_AUTH=true # Use Azure CLI authentication
169
-
# OR
170
-
AZURE_CLIENT_ID=<service-principal-id>
171
-
AZURE_CLIENT_SECRET=<service-principal-secret>
172
-
AZURE_TENANT_ID=<tenant-id>
173
-
```
174
-
175
-
Run live tests:
176
-
```bash
177
-
pytest tests/ --live
178
-
```
172
+
Note: To run tests in playback mode instead of live mode, set:
173
+
```
174
+
AZURE_TEST_RUN_LIVE=false
175
+
```
176
+
3. Install test dependencies and the package in editable mode:
177
+
```bash
178
+
pip install -r dev_requirements.txt
179
+
pip install -e .
180
+
```
181
+
182
+
**Note**: If the azure-schemaregistry-avroencoder package is installed, you may encounter import errors due to issues identifying separate packages with shared namespace. To workaround this, you will need to install the client library in non-editable mode:
183
+
```bash
184
+
pip install .
185
+
```
186
+
Note: You'll need to rerun this command after making changes to the package.
0 commit comments