tests.tlstests.test_productapi

Test product API/mTLS client things

Module Contents

Functions

test_hello(mtlsclient)

Quick and dirty test of the mTLS client and server

test_user_crud(endpoint_suffix)

Test calling the user POST endpoints

test_user_update()

Test calling the user (PUT)

test_user_fragment()

Test calling the user-created endpoint

test_failure_is_none(endpoint)

Test calling the user-created endpoint

Attributes

LOGGER

LOGGER[source]
async test_hello(mtlsclient)[source]

Quick and dirty test of the mTLS client and server

Parameters:

mtlsclient (aiohttp.ClientSession)

Return type:

None

async test_user_crud(endpoint_suffix)[source]

Test calling the user POST endpoints

Parameters:

endpoint_suffix (str)

Return type:

None

async test_user_update()[source]

Test calling the user (PUT)

Return type:

None

async test_user_fragment()[source]

Test calling the user-created endpoint

Return type:

None

async test_failure_is_none(endpoint)[source]

Test calling the user-created endpoint

Parameters:

endpoint (str)

Return type:

None