Skip to main content

Testing utilities plugin for Belgie

Project description

belgie-testing

Testing utilities plugin for Belgie.

belgie-testing provides test-only helpers for creating individuals, persisting records, creating authenticated sessions, and building cookies for browser tests. It does not register public routes.

Pass capture_otp=True when registering the plugin to expose get_otp(...) and clear_otps() for verification-token capture in tests.

test = belgie.add_plugin(BelgieTestUtils(capture_otp=True))

await sso_client.create_domain_challenge(provider_id="acme", domain="example.com")
assert test.get_otp("example.com") is not None

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

belgie_testing-0.19.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

belgie_testing-0.19.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file belgie_testing-0.19.1.tar.gz.

File metadata

  • Download URL: belgie_testing-0.19.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for belgie_testing-0.19.1.tar.gz
Algorithm Hash digest
SHA256 222059e18624b722db696e1325024fdfe27b222167fac6b72f638f8ac48ce13c
MD5 831805456039f0ac0530578a393a5bef
BLAKE2b-256 bf682a27d12eaa60a291dda45bd2e061c0fff3d2646c83da0b14bd77ff714232

See more details on using hashes here.

File details

Details for the file belgie_testing-0.19.1-py3-none-any.whl.

File metadata

  • Download URL: belgie_testing-0.19.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for belgie_testing-0.19.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10f9ab3041573322154beb3a418632c1c81c8cd4fdd85cd8e107d0d23399ab63
MD5 135a760d8b9817c6ba8407dde4473c57
BLAKE2b-256 025db424ad7644ce03622f470e673ca2a73296f8d9d301d784a37908622f222c

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