tests.test_extra

Extra Test module for docs.utils functionality.

This module provides extra test cases for the docs.utils module, focusing on the utils.sanitize_url method for url encoding.

Module Contents

Classes

ExtraDocsUtilsTestSuite

Test cases for docs.utils module.

Data

__module__

API

tests.test_extra.__module__[source]

‘tests’

class tests.test_extra.ExtraDocsUtilsTestSuite(methodName='runTest')[source][source]

Bases: context.BasicUsageTestSuite

Test cases for docs.utils module.

Initialization

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.

__module__[source]

‘tests.test_extra’

URL_TEST_FIXTURES[source]

None

test_sanitize_url_GIVEN_raw_url_IS_reliable() None[source][source]

Test case 1: Test to ensure reliable URL sanitization.