pagetools.sections.tests package

Submodules

pagetools.sections.tests.test_admin module

class pagetools.sections.tests.test_admin.SectionAdminTests(methodName='runTest')[source]

Bases: TestModelMixin

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

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

test_has_fields()[source]

pagetools.sections.tests.test_models module

class pagetools.sections.tests.test_models.ModelTests(methodName='runTest')[source]

Bases: TestModelMixin

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_title()[source]
class pagetools.sections.tests.test_models.TestModelMixin(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

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

Module contents