Previous topic

base.models module

Next topic

base.views module

This Page

base.tests module

Example tests.

copyright:(c) 2012 by Roman Semirook.
license:BSD, see LICENSE for more details.
class base.tests.TestFrontBlueprint(methodName='runTest')[source]

Bases: testing.KitTestCase

test_front()[source]

Tests the front page success code. :return:

test_front_for_anonymous()[source]

An anonymous visitor should see a “Log in” mention on the front page.

Returns:
test_login()[source]

The login page should load successfully.

Returns: