Skip to content

Commit 5fa433a

Browse files
committed
Update tests for new test tenant
- Update tests for new testing tenant - Update secrets pulled in for testing - Include python 3.11 in test runs
1 parent 9db9ab1 commit 5fa433a

8 files changed

Lines changed: 522 additions & 514 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
environment: testing
1010
strategy:
1111
matrix:
12-
python: [3.7, 3.8, 3.9, "3.10"]
12+
python: [3.7, 3.8, 3.9, "3.10", "3.11"]
1313

1414
steps:
1515
- uses: actions/checkout@v3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ Valid credentials are required to run the unit tests. The credentials should be
144144
export TSS_USERNAME=myusername
145145
export TSS_PASSWORD=mysecretpassword
146146
export TSS_TENANT=mytenant
147-
export SECRET_ID=42
148-
export SECRET_PATH=\Test Secrets\SecretName
147+
export TSS_SECRET_ID=42
148+
export TSS_SECRET_PATH=\Test Secrets\SecretName
149149
```
150150

151151
The tests assume that the user associated with the specified `TSS_USERNAME` and `TSS_PASSWORD` can read the secret to be fetched, and that the Secret itself contains `username` and `password` fields.

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def env_vars():
1212
"username": os.getenv("TSS_USERNAME"),
1313
"password": os.getenv("TSS_PASSWORD"),
1414
"tenant": os.getenv("TSS_TENANT"),
15-
"secret_id": os.getenv("SECRET_ID"),
16-
"secret_path": os.getenv("SECRET_PATH"),
15+
"secret_id": os.getenv("TSS_SECRET_ID"),
16+
"secret_path": os.getenv("TSS_SECRET_PATH"),
1717
}
1818

1919

0 commit comments

Comments
 (0)