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.3.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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: belgie_testing-0.19.3.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.3.tar.gz
Algorithm Hash digest
SHA256 be7e4366b0dea41448c9c4fe8408297863bad079c1076f850ba498d754c66b64
MD5 44e29e8a14868c850439799f3d0c2363
BLAKE2b-256 badab2392b0aa6fb9109ce0abe67484ef4fb33ea7076b6f2123d4961198598a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: belgie_testing-0.19.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be87cdcad5b4e4a942c9ea4672832ad1057d8e33188e50c8f560b772f5195506
MD5 09bdfaeff9f0ef34cd32210c56cfa12f
BLAKE2b-256 4c60c7938042bce37ae369b1bb6f80afa6e46fa45a07ea1752692334570c6b79

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