tests.usersapis.conftest
fixtures
Module Contents
Functions
|
Make sure we have a well known directory structure |
|
(fake) mTLS client for admin |
|
Enrolls a user, returns the p12 cert pkg |
|
Create enrollment pool |
|
mTLS client for user |
|
Client with mocked NGinx mTLS headers |
Attributes
- datadir(nice_tmpdir_mod)[source]
Make sure we have a well known directory structure
- Parameters:
nice_tmpdir_mod (str)
- Return type:
- async admin_mtls_client(issuer_cl)[source]
(fake) mTLS client for admin
- Parameters:
issuer_cl (multikeyjwt.Issuer)
- Return type:
AsyncGenerator[async_asgi_testclient.TestClient, None]
- async enroll_poolcode(admin_mtls_client)[source]
Create enrollment pool
- Parameters:
admin_mtls_client (async_asgi_testclient.TestClient)
- Return type:
AsyncGenerator[str, None]