Skip to content

Commit 3d904d6

Browse files
committed
updated readme
1 parent fb2825b commit 3d904d6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ client.set_user_enabled(user.Id, enabled=True)
6161
from vaultwarden.clients.bitwarden import BitwardenAPIClient
6262
from vaultwarden.models.bitwarden import Organization, OrganizationCollection, get_organization
6363

64-
bitwarden_client = BitwardenAPIClient(url="https://vaultwarden.example.com", email="admin@example", password="admin_password", client_id="client_id", client_secret="client_secret")
64+
bitwarden_client = BitwardenAPIClient(url="https://vaultwarden.example.com", email="admin@example", password="admin_password", client_id="client_id", client_secret="client_secret", device_id="my_test_device")
6565

6666
org_uuid = "550e8400-e29b-41d4-a716-446655440000"
6767

@@ -135,10 +135,15 @@ You can now install the project and its dependencies using:
135135
pip install -e .[test]
136136
```
137137
### Testing
138-
To run the tests, use:
138+
Configure the test by loading the environment variables
139+
```bash
140+
set -a; . tests/e2e/.env; set +a
141+
```
142+
_this is proconfigrued vscode python test extention_
139143

144+
To run the tests, use:
140145
```bash
141-
bash tests/e2e/run_tests.sh
146+
python -m unittests discover
142147
```
143148

144149
## License

0 commit comments

Comments
 (0)