tests.test_rasenmaeher_api
Package level tests
Module Contents
Functions
Make sure version matches expected |
|
|
Check that we can get the openapi spec |
Test settings defaults |
|
|
Make sure we have seen at least one announce call |
|
Test the JWT public key |
- async test_get_openapi_json(app_client)[source]
Check that we can get the openapi spec
- Parameters:
app_client (async_asgi_testclient.TestClient)
- Return type:
None
- async test_announce(unauth_client, announce_server)[source]
Make sure we have seen at least one announce call
- Parameters:
unauth_client (async_asgi_testclient.TestClient)
announce_server (str)
- Return type:
None
- async test_jwt_pub_url(unauth_client, tmp_path)[source]
Test the JWT public key
- Parameters:
unauth_client (async_asgi_testclient.TestClient)
tmp_path (pathlib.Path)
- Return type:
None