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

Uploaded Source

Built Distribution

pytest_clerk-1.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_clerk-1.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/5.4.109+

File hashes

Hashes for pytest_clerk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 92510fae9e9fdf294870f072b3e2b98e51ee85822b120b9967d25193b4029c3a
MD5 8857e920f96a59a22fd9be74a7a35648
BLAKE2b-256 4d099d7eae95497896ef6e3580ffd310b131d73b8ac3111e0e3f35351560fd24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_clerk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/5.4.109+

File hashes

Hashes for pytest_clerk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 419d0f36719a816a5d72be046b9c44b8c3e9baf783504671e79e94206e07bc05
MD5 2a929a841022f232537b340b82b157e6
BLAKE2b-256 93a35726d128ab0d1aa6b152899cebab25e6069f1d878fc4514a2fc24a5e264e

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