This file contains tests pertaining to responses from app routes and forms. The app routes are tested for the correct
status codes and for correct response data. Some tests involve determining if certaing HTML entities exist in the response data.
Routes that are tested:
GET /index
POST /index
GET /status
POST /status
GET /contact
GET /technical-support
POST /contact
GET /faq
GET /about
Code Issues
test_post_technical_support and test_post_contact have the same code and
same docstring. Are they supposed to be the same function?
Code Check Report
No problems to report
Documentation drawn from source code
Test Main ModuleThis module contains the tests for the OpenRecords `/` endpoint.
test_index(client: Flask.test_client): Test the `/` endpoint works properly.Args:client (Flask.test_client): The test client used to access the endpointassert b"""