15.2.192. camcops_server.cc_modules.tests.webview_tests

camcops_server/cc_modules/tests/webview_tests.py


Copyright (C) 2012, University of Cambridge, Department of Psychiatry. Created by Rudolf Cardinal (rnc1001@cam.ac.uk).

This file is part of CamCOPS.

CamCOPS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CamCOPS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CamCOPS. If not, see <https://www.gnu.org/licenses/>.


class camcops_server.cc_modules.tests.webview_tests.AddPatientViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.AddTaskScheduleItemViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.AddTaskScheduleViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.ChangeOtherPasswordViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.ChangeOwnPasswordViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.DeleteServerCreatedPatientViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.DeleteTaskScheduleItemViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.DeleteTaskScheduleViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.EditFinalizedPatientViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.EditGroupViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.EditOtherUserMfaViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.EditOwnUserMfaViewTests(methodName='runTest')[source]
class camcops_server.cc_modules.tests.webview_tests.EditServerCreatedPatientViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.EditTaskScheduleItemViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.EditTaskScheduleViewTests(methodName='runTest')[source]

Unit tests.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.EditUserGroupMembershipViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.EditUserViewTests(methodName='runTest')[source]
class camcops_server.cc_modules.tests.webview_tests.EraseTaskEntirelyViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.EraseTaskLeavingPlaceholderViewTests(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.EraseTaskTestCase(methodName='runTest')[source]

Unit tests.

class camcops_server.cc_modules.tests.webview_tests.LoginViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.SendEmailFromPatientTaskScheduleViewTests(methodName='runTest')[source]
setUp() None[source]

Hook method for setting up the test fixture before exercising it.

class camcops_server.cc_modules.tests.webview_tests.WebviewTests(methodName='runTest')[source]

Unit tests.

test_any_records_use_group_false() None[source]

If this fails with: sqlalchemy.exc.InvalidRequestError: SQL expression, column, or mapped entity expected - got <name of task base class> then the base class probably needs to be declared __abstract__. See DiagnosisItemBase as an example.