b.t.p.test_content_filters : module documentation

Part of bzrlib.tests.per_workingtree

Tests for content filtering conformance
Class TestWorkingTreeWithContentFilters No class docstring; 1/14 methods documented
Function _converter_helper Undocumented
Function _swapcase A converter that swaps the case of text.
Function _uppercase A converter that converts text to uppercase.
Function _lowercase A converter that converts text to lowercase.
Function _append_text A content filter that appends a string to the end of the file.
Function _remove_appended_text Remove the appended text.
def _converter_helper(chunks, fn):
Undocumented
def _swapcase(chunks, context=None):
A converter that swaps the case of text.
def _uppercase(chunks, context=None):
A converter that converts text to uppercase.
def _lowercase(chunks, context=None):
A converter that converts text to lowercase.
def _append_text(chunks, context=None):
A content filter that appends a string to the end of the file.

This tests filters that change the length.

def _remove_appended_text(chunks, context=None):
Remove the appended text.
API Documentation for Bazaar, generated by pydoctor at 2020-08-12 01:07:27.