trustpoint.tests.test_page_context¶
Tests for page_context module.
Classes¶
Test cases for PageContextMixin. |
Module Contents¶
- class trustpoint.tests.test_page_context.TestPageContextMixin(methodName='runTest')[source]¶
Bases:
django.test.TestCaseTest cases for PageContextMixin.
- test_get_context_data_without_super()[source]¶
Test get_context_data when no super class has get_context_data.
- Return type:
None
- test_get_context_data_with_super()[source]¶
Test get_context_data when super class has get_context_data.
- Return type:
None
- test_get_context_data_none_page_category()[source]¶
Test get_context_data when page_category is None.
- Return type:
None
- test_get_context_data_none_page_name()[source]¶
Test get_context_data when page_name is None.
- Return type:
None
- test_get_context_data_both_none()[source]¶
Test get_context_data when both are None.
- Return type:
None
- test_get_context_data_with_devices_category()[source]¶
Test get_context_data with devices category.
- Return type:
None