help_pages.tests.test_help_sectionΒΆ

Test cases for help_pages help_section module.

ClassesΒΆ

ValueRenderTypeTests

Test cases for ValueRenderType enum.

HelpRowTests

Test cases for HelpRow dataclass.

HelpSectionTests

Test cases for HelpSection dataclass.

HelpPageTests

Test cases for HelpPage dataclass.

Module ContentsΒΆ

class help_pages.tests.test_help_section.ValueRenderTypeTests(methodName='runTest')[source]ΒΆ

Bases: django.test.SimpleTestCase

Test cases for ValueRenderType enum.

test_value_render_type_code()[source]ΒΆ

Test that CODE value render type has correct value.

Return type:

None

test_value_render_type_plain()[source]ΒΆ

Test that PLAIN value render type has correct value.

Return type:

None

class help_pages.tests.test_help_section.HelpRowTests(methodName='runTest')[source]ΒΆ

Bases: django.test.SimpleTestCase

Test cases for HelpRow dataclass.

test_help_row_creation()[source]ΒΆ

Test creating a HelpRow with all fields.

Return type:

None

test_help_row_default_values()[source]ΒΆ

Test HelpRow default values.

Return type:

None

test_help_row_with_safe_string()[source]ΒΆ

Test HelpRow with SafeString.

Return type:

None

class help_pages.tests.test_help_section.HelpSectionTests(methodName='runTest')[source]ΒΆ

Bases: django.test.SimpleTestCase

Test cases for HelpSection dataclass.

test_help_section_creation()[source]ΒΆ

Test creating a HelpSection with all fields.

Return type:

None

test_help_section_default_values()[source]ΒΆ

Test HelpSection default values.

Return type:

None

test_help_section_with_safe_string_heading()[source]ΒΆ

Test HelpSection with SafeString heading.

Return type:

None

class help_pages.tests.test_help_section.HelpPageTests(methodName='runTest')[source]ΒΆ

Bases: django.test.SimpleTestCase

Test cases for HelpPage dataclass.

test_help_page_creation()[source]ΒΆ

Test creating a HelpPage.

Return type:

None

test_help_page_with_safe_string_heading()[source]ΒΆ

Test HelpPage with SafeString heading.

Return type:

None

test_help_page_with_complex_structure()[source]ΒΆ

Test HelpPage with complex nested structure.

Return type:

None