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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_clerk-4.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_clerk-4.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.11.2 Linux/5.15.154+

File hashes

Hashes for pytest_clerk-4.1.0.tar.gz
Algorithm Hash digest
SHA256 21a53c48794dd9d0eb92ae39726bf95bb03707da42fcf16df46094c41f0c1824
MD5 6a325e8e053d6e16d8878d53d21ba151
BLAKE2b-256 6c9edf7a1390037c15002df0ace45cb622b4c700e257652b1c84253632ea7910

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_clerk-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.11.2 Linux/5.15.154+

File hashes

Hashes for pytest_clerk-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a416fa502a053b62da5fb703bacc81a5d05bcb0f49d1a297d3bc72a148ab3960
MD5 21b54e98e4ead1c39b10dd1e97c424e0
BLAKE2b-256 15a891f8efcc506abfa9e5370802214db46e66379780e7473d321ec1d781e5ac

See more details on using hashes here.

Supported by

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