Skip to main content

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-2.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

pytest_clerk-2.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pytest_clerk-2.0.0.tar.gz.

File metadata

  • Download URL: pytest_clerk-2.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

Hashes for pytest_clerk-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e66931ef78ee8154bc5c550074575ee4d781b37f691f62fe3113d1304397d0c8
MD5 fe826662b01dd5f67d079e6739c3de40
BLAKE2b-256 81b25ce36f2adc7ddc87d2a5da08d04a645ba8385266ebdc32b0142b056ec1dd

See more details on using hashes here.

File details

Details for the file pytest_clerk-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_clerk-2.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

Hashes for pytest_clerk-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19238d753774b63459c4cf69433fb0f298ec03eba7561759f6376ae1ab9bc401
MD5 b6de48ee0ad1dc2152dc870a8a6dafff
BLAKE2b-256 33ba46b85727280bd2e0a8ca0712d7813566d618539a3d18058f9c71cf0700e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page