trustpoint.tests.test_views.test_index_view

Tests for the IndexView class.

Classes

TestIndexView

Test cases for the IndexView.

Module Contents

class trustpoint.tests.test_views.test_index_view.TestIndexView(methodName='runTest')[source]

Bases: django.test.TestCase

Test cases for the IndexView.

setUp()[source]

Set up test environment, including a test user and request factory.

Return type:

None

test_index_view_redirection_authenticated()[source]

Test that IndexView redirects an authenticated user to the expected URL.

Return type:

None

test_index_view_url_resolves_correctly()[source]

Test that the IndexView resolves to the correct view class.

Return type:

None