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
Copy file name to clipboardExpand all lines: azure-quantum/tests/README.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,22 +17,18 @@ AZURE_TEST_RUN_LIVE="True"
17
17
18
18
This will force the recording files to be deleted before running the tests.
19
19
20
-
To be able to run the tests in recording or live mode, make sure:
21
-
22
-
- You have a client app registered in Microsoft Entra ID (formerly Azure Active Directory)
23
-
- The client app is configured with [certificate-based authentication](https://learn.microsoft.com/en-us/entra/identity/authentication/how-to-certificate-based-authentication)
24
-
- The client app has "Contributor" permissions to your Azure Quantum Workspace
25
-
- The following environment variables are set:
26
-
-`AZURE_CLIENT_ID` - application (client) ID from Microsoft Entra ID
27
-
-`AZURE_TENANT_ID` - directory (tenant) ID from Microsoft Entra ID
28
-
-`AZURE_CLIENT_CERTIFICATE_PATH` - path to PEM or PKCS12 certificate file (including the private key) that is configured for the client app
29
-
-`AZURE_CLIENT_SEND_CERTIFICATE_CHAIN=True` - prompts Azure.Identity to set X5C header (specifying certificate chain) required to support SNI authentication
20
+
To run the tests in recording or live mode, make sure:
21
+
22
+
- You have installed [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest).
23
+
- You're logged into your Azure Entra ID Tenant in the Azure CLI - `az login` (or `az login --tenant <tenantId>`).
24
+
- You have "Quantum Workspace Owner" or "Quantum Workspace Data Contributor" or "Contributor" role on the Azure Quantum Workspace against which you would like to capture the recordings.
25
+
- You have all necessary Providers added to the Azure Quantum Workspace.
26
+
- The following environment variables are set:
30
27
-`AZURE_QUANTUM_SUBSCRIPTION_ID` - ID of the Subscription where Azure Quantum Workspace is deployed
31
28
-`AZURE_QUANTUM_WORKSPACE_RG` - name of the Resource Group where Azure Quantum Workspace is deployed
32
29
-`AZURE_QUANTUM_WORKSPACE_NAME` - name of the Azure Quantum Workspace
33
30
-`AZURE_QUANTUM_WORKSPACE_LOCATION` - Azure region where the Azure Quantum Workspace is deployed
34
31
35
-
36
32
## Recordings
37
33
38
34
Our testing infrastructure uses Python VCR to record HTTP calls against a live service and then use
0 commit comments