A set of pytest fixtures to help with integration testing with Clerk.
Project description
Pytest Clerk
This is a collection of fixtures we've been using to perform integration tests using the real Clerk APIs.
Usage of any of these fixture requires that the following be specified in environment variables or a .env file:
- CLERK_SECRET_KEY: Set this to the value of your Clerk secret key. Conflicts with CLERK_SECRET_ID.
- CLERK_SECRET_ID: Set this to the ID of the AWS SecretsManager Secret that contains the
Clerk secret key. This requires installing the
aws
extra. Conflicts with CLERK_SECRET_KEY.
The fixtures themselves are heavily documented so please view their docstrings for more information on their usage.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest_clerk-4.0.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file pytest_clerk-4.0.0.tar.gz
.
File metadata
- Download URL: pytest_clerk-4.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 201255b621bbf19670a7f001d3617f57c4cc5837e21d45109a0269723a1624e8 |
|
MD5 | 913bceae930dc060b7ce8968698e0b78 |
|
BLAKE2b-256 | eecc16b67e41f914d8b6cbb86680c53aa3bdfaf0e98d10c7c00a00d604558f0f |
File details
Details for the file pytest_clerk-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_clerk-4.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e9b233dff5fb846c3ba3123c03aa6b03652ac272fbc5123754391559847c0e3 |
|
MD5 | c071283d5e63fff3d6c76b8149a5cf66 |
|
BLAKE2b-256 | 32c2cbee59b01b25683da28ff008ec8d8a482cc521c4f27fcb54fd3ef97c4aae |