api.authentication.v1.test_helpers.constrain package

Submodules

api.authentication.v1.test_helpers.constrain.constrain module

api.authentication.v1.test_helpers.constrain.constrain.access_denied(function)[source]

Mock https://portal.mnemonic.no/web/api/authentication/v1/constrain, respond with HTTP 403

api.authentication.v1.test_helpers.constrain.constrain.not_found(function)[source]

Mock https://portal.mnemonic.no/web/api/authentication/v1/constrain, respond with HTTP 404

api.authentication.v1.test_helpers.constrain.constrain.success(function)[source]

Mock https://portal.mnemonic.no/web/api/authentication/v1/constrain, respond with HTTP 200

api.authentication.v1.test_helpers.constrain.constrain.unauthorized(function)[source]

Mock https://portal.mnemonic.no/web/api/authentication/v1/constrain, respond with HTTP 401

Module contents