AKDashboard.tests module
- class AKDashboard.tests.DashboardTests(methodName='runTest')[source]
Bases:
TestCase
Specific Dashboard Tests
- test_dashboard_view()[source]
Check that the main dashboard is reachable (would also be covered by generic view testcase below)
- test_nonexistent_dashboard_view()[source]
Make sure there is no dashboard for an non-existing event
- test_history()[source]
Test displaying of history
For the sake of that test, the setting to show recent events in dashboard is enforced to be true regardless of the default configuration currently in place
- test_public()[source]
Test handling of public and private events (only public events should be part of the standard dashboard, but there should be an individual dashboard for both public and private events)
Test visibility of plan buttons with regard to plan visibility status for a given event
- class AKDashboard.tests.DashboardViewTests(methodName='runTest')[source]
Bases:
BasicViewTests
,TestCase
Generic view tests, based on
AKModel.BasicViewTests
as specified in this class in VIEWS