dulwich.tests.test_line_ending module¶
Tests for the line ending conversion.
- class dulwich.tests.test_line_ending.GetLineEndingAutocrlfFilters(methodName='runTest')¶
Bases:
TestCase
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.
- test_get_checkin_filter_autocrlf_default()¶
- test_get_checkin_filter_autocrlf_input()¶
- test_get_checkin_filter_autocrlf_true()¶
- test_get_checkout_filter_autocrlf_default()¶
- test_get_checkout_filter_autocrlf_input()¶
- test_get_checkout_filter_autocrlf_true()¶
- class dulwich.tests.test_line_ending.LineEndingConversion(methodName='runTest')¶
Bases:
TestCase
Test the line ending conversion functions in various cases
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.
- test_convert_crlf_to_lf()¶
- test_convert_crlf_to_lf_mixed()¶
- test_convert_crlf_to_lf_no_op()¶
- test_convert_lf_to_crlf()¶
- test_convert_lf_to_crlf_mixed()¶
- test_convert_lf_to_crlf_no_op()¶
- class dulwich.tests.test_line_ending.NormalizeBlobTestCase(methodName='runTest')¶
Bases:
TestCase
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.
- test_normalize_to_crlf()¶
- test_normalize_to_crlf_binary()¶
- test_normalize_to_crlf_no_op()¶
- test_normalize_to_lf()¶
- test_normalize_to_lf_binary()¶
- test_normalize_to_lf_no_op()¶