tests.usersapis.test_pools

Test EnrollmentPool ops

Module Contents

Functions

five_pools(admin_mtls_client)

Check lists

test_list_pools(admin_mtls_client, five_pools)

Check lists

test_list_pools_by_owner(admin_mtls_client)

Check list by owner

test_list_pools_wrong_owner(admin_mtls_client)

Check nonexistent owner

Attributes

LOGGER

LOGGER[source]
async five_pools(admin_mtls_client)[source]

Check lists

Parameters:

admin_mtls_client (async_asgi_testclient.TestClient)

Return type:

AsyncGenerator[List[str], None]

async test_list_pools(admin_mtls_client, five_pools)[source]

Check lists

Parameters:
  • admin_mtls_client (async_asgi_testclient.TestClient)

  • five_pools (List[str])

Return type:

None

async test_list_pools_by_owner(admin_mtls_client)[source]

Check list by owner

Parameters:

admin_mtls_client (async_asgi_testclient.TestClient)

Return type:

None

async test_list_pools_wrong_owner(admin_mtls_client)[source]

Check nonexistent owner

Parameters:

admin_mtls_client (async_asgi_testclient.TestClient)

Return type:

None