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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file belgie_testing-0.19.2.tar.gz.
File metadata
- Download URL: belgie_testing-0.19.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91612d3a60ab4f41fd3c7bbb6e3afd0419981d55ca869192ebb75942e2c21ad2
|
|
| MD5 |
6566d2575a2c7a467271bdc49574d2b1
|
|
| BLAKE2b-256 |
b630f023c4d54c5c9c4ff058138515efc67b9e3e9f3cbe1e1dfb9dd3ca8026ed
|
File details
Details for the file belgie_testing-0.19.2-py3-none-any.whl.
File metadata
- Download URL: belgie_testing-0.19.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c86a328541b51c9377852b022ed94316c3fa1b38b1206f27e2ddb441486d2b8e
|
|
| MD5 |
82845cc9d1ea1ceed9bb3a587f141952
|
|
| BLAKE2b-256 |
97aecfec0d1c521d0fa2f710d8645ed59961af32ad53e4520e7b318f69138ace
|