test__submit_breakdown#
For these tests, we will override the authorization dependency
so that the tests are not dependent on cognito. We’ll assume that
the test__auth
service is sufficient.
Functions#
make_request_payload()
#
- tests.functional_tests.main.endpoints.test__submit_breakdown.make_request_payload(user_submission: dict) rootski.schemas.breakdown.BreakdownUpsert [source]#
make_submit_breakdown_request()
#
- tests.functional_tests.main.endpoints.test__submit_breakdown.make_submit_breakdown_request(user_submission: dict, dynamo_client: starlette.testclient.TestClient, should_succeed: bool) Union[Tuple[int, rootski.schemas.breakdown.SubmitBreakdownResponse], starlette.responses.Response] [source]#