pagetools.pages.tests package

Submodules

pagetools.pages.tests.test_admin module

class pagetools.pages.tests.test_admin.AdminTests(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.

test_add_page()[source]

pagetools.pages.tests.test_forms module

class pagetools.pages.tests.test_forms.TestContactFormMissingReceiver(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.

test_sendmailform_no_reveivers(*_args)[source]
class pagetools.pages.tests.test_forms.TestContactFormWithKwargReceiver(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.

test_sendmailform_overwrite_receivers()[source]
class pagetools.pages.tests.test_forms.TestContactFormWithSettingsReceiver(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.

test_sendmailform_receivers_from_settings(*_args)[source]

pagetools.pages.tests.test_models module

class pagetools.pages.tests.test_models.PageTests(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.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_draft()[source]
test_draft_admin()[source]
test_published()[source]
test_title()[source]

pagetools.pages.tests.test_views module

class pagetools.pages.tests.test_views.PageViewTestCase(methodName='runTest')[source]

Bases: MenuDataTestCase

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_detailview()[source]
test_with_form()[source]

Module contents