hawat.blueprints.dbstatus.test package

Unit tests for hawat.blueprints.dbstatus.

class hawat.blueprints.dbstatus.test.DBStatusDashboardTestCase(methodName='runTest')[source]

Bases: hawat.test.runner.TestRunnerMixin, vial.test.VialTestCase

Class for testing dbstatus.dashboard endpoint.

test_01_as_anonymous()[source]

Test access as anonymous user.

test_02_as_user(*args, **kwargs)
test_03_as_developer(*args, **kwargs)
test_04_as_maintainer(*args, **kwargs)
test_05_as_admin(*args, **kwargs)
class hawat.blueprints.dbstatus.test.DBStatusMyQueriesTestCase(methodName='runTest')[source]

Bases: hawat.test.runner.TestRunnerMixin, vial.test.VialTestCase

Class for testing dbstatus.queries_my endpoint.

test_01_as_anonymous()[source]

Test access as anonymous user.

test_02_as_user(*args, **kwargs)
test_03_as_developer(*args, **kwargs)
test_04_as_maintainer(*args, **kwargs)
test_05_as_admin(*args, **kwargs)
class hawat.blueprints.dbstatus.test.DBStatusViewTestCase(methodName='runTest')[source]

Bases: hawat.test.runner.TestRunnerMixin, vial.test.VialTestCase

Class for testing dbstatus.view endpoint.

test_01_as_anonymous()[source]

Test access as anonymous user.

test_02_as_user(*args, **kwargs)
test_03_as_developer(*args, **kwargs)
test_04_as_maintainer(*args, **kwargs)
test_05_as_admin(*args, **kwargs)