tests.test_rasenmaeher_api

Package level tests

Module Contents

Functions

test_version()

Make sure version matches expected

test_get_openapi_json(app_client)

Check that we can get the openapi spec

test_settings()

Test settings defaults

test_announce(unauth_client, announce_server)

Make sure we have seen at least one announce call

test_jwt_pub_url(unauth_client, tmp_path)

Test the JWT public key

test_version()[source]

Make sure version matches expected

Return type:

None

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

test_settings()[source]

Test settings defaults

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