tests.py

Unittest for checking the healthprofessional functionality

Class definitions:

class apps.healthperson.healthprofessional.tests.HealthprofessionalTest(methodName='runTest')[source]

Bases: core.unittest.baseunittest.BaseUnitTest

Test message sending, searching, and all patient related pages like reports/messages etc.

check_sent_messages()[source]

Checks if healthprofessional can sent a message to a patient and if it can be found via the search page.

Check general search for patients

check_patient_pages()[source]

Check pages which can be opened by an healhtprofessional for a patient including controls. appointments, reports and filled in questionnaire information

test_healthprofessional_functions()[source]

Test runner for all healhtprofessional checks

Note

Adding and editing reports, messages etc. are not tested here but in their own apps.