hawat.test.test_app module

Basic proof of concept for Hawat unit tests.

class hawat.test.test_app.AppTestCase(methodName='runTest')[source]

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

Class for testing hawat.base.HawatApp application.

test_login_dev()[source]

Test login/logout with auth_dev module.

test_main_page()[source]

Test application homepage.

test_modules_mgmt()[source]

Basic tests of various pluggable modules.

test_modules_mgmt_admin(*args, **kwargs)
test_modules_mgmt_developer(*args, **kwargs)
test_modules_mgmt_maintainer(*args, **kwargs)
test_modules_mgmt_user(*args, **kwargs)
test_testenv()[source]

Test the test environment.