management.tests.test_util.test_output_wrapper

Test suite for CommandOutputWrapper.

Classes

CommandOutputWrapperTest

Test suite for CommandOutputWrapper class.

Module Contents

class management.tests.test_util.test_output_wrapper.CommandOutputWrapperTest(methodName='runTest')[source]

Bases: django.test.TestCase

Test suite for CommandOutputWrapper class.

setUp()[source]

Set up test fixtures.

test_init()[source]

Test initialization stores stdout and style.

test_write()[source]

Test write method delegates to stdout.

test_write_empty_string()[source]

Test write method with empty string.

test_write_multiline()[source]

Test write method with multiline string.

test_success()[source]

Test success method formats with SUCCESS style.

test_success_empty_string()[source]

Test success method with empty string.

test_error()[source]

Test error method formats with ERROR style.

test_error_empty_string()[source]

Test error method with empty string.

test_warning()[source]

Test warning method formats with WARNING style.

test_warning_empty_string()[source]

Test warning method with empty string.

test_multiple_operations()[source]

Test multiple operations in sequence.