SYMBOL INDEX (367 symbols across 30 files) FILE: rainbow/__main__.py function main (line 29) | def main(args=None): FILE: rainbow/build.py class Build (line 34) | class Build(build): # no cover method run (line 35) | def run(self): class Clean (line 42) | class Clean(clean): # no cover method __init__ (line 44) | def __init__(self, dist): method initialize_options (line 50) | def initialize_options(self): method finalize_options (line 54) | def finalize_options(self): method run (line 59) | def run(self): class GenerateCompletion (line 72) | class GenerateCompletion(Command): method initialize_options (line 80) | def initialize_options(self): method finalize_options (line 84) | def finalize_options(self): method run (line 90) | def run(self): class GenerateManPage (line 105) | class GenerateManPage(Command): method initialize_options (line 112) | def initialize_options(self): method finalize_options (line 115) | def finalize_options(self): method run (line 119) | def run(self): function makeparentdirs (line 146) | def makeparentdirs(path): FILE: rainbow/cli.py class CommandLineParser (line 33) | class CommandLineParser(OptionParser): method __init__ (line 34) | def __init__(self, method parse_args (line 97) | def parse_args(self, args=None, values=None): method _process_args (line 116) | def _process_args(self, largs, rargs, values): method exit (line 126) | def exit(self, status=0, msg=None): method error (line 131) | def error(self, msg): method handle_config_option (line 134) | def handle_config_option(self, option, opt, value, parser): method handle_pattern_option (line 137) | def handle_pattern_option(self, option, opt, value, parser): method handle_verbosity_option (line 144) | def handle_verbosity_option(option, opt, value, parser): method handle_print_path_option (line 147) | def handle_print_path_option(self, option, opt, value, parser): method handle_print_config_names_option (line 151) | def handle_print_config_names_option(self, option, opt, value, parser): method print_help (line 155) | def print_help(self, file=None): method print_version (line 159) | def print_version(self, file=None): FILE: rainbow/command/execute.py class ExecuteCommand (line 34) | class ExecuteCommand(object): method __init__ (line 35) | def __init__(self, method encode (line 45) | def encode(self, string): method decode (line 48) | def decode(self, bytes): method run (line 51) | def run(self): FILE: rainbow/command/noop.py class NoOpCommand (line 20) | class NoOpCommand(object): method __init__ (line 21) | def __init__(self, exit_code=0): method run (line 24) | def run(self): FILE: rainbow/command/print_config_names.py class PrintConfigNamesCommand (line 22) | class PrintConfigNamesCommand(object): method __init__ (line 23) | def __init__(self, paths=None): method run (line 26) | def run(self): FILE: rainbow/command/print_path.py class PrintPathCommand (line 22) | class PrintPathCommand(object): method __init__ (line 23) | def __init__(self, paths=None): method run (line 26) | def run(self): FILE: rainbow/command/stdin.py class STDINCommand (line 28) | class STDINCommand(object): method __init__ (line 29) | def __init__(self, method run (line 35) | def run(self): FILE: rainbow/config/loader.py class ConfigLoader (line 44) | class ConfigLoader(object): method __init__ (line 45) | def __init__(self, method load_config_by_name (line 54) | def load_config_by_name(self, config): method load_config_from_command_line (line 61) | def load_config_from_command_line(self, command_line_args): method find_config_name_from_command_line (line 71) | def find_config_name_from_command_line(command_line_args): FILE: rainbow/config/locator.py class ConfigLocator (line 25) | class ConfigLocator(object): method __init__ (line 26) | def __init__(self, paths=None): method locate_config_file (line 29) | def locate_config_file(self, config, working_directory=None): method locate_config_file_in_directory (line 49) | def locate_config_file_in_directory(directory, config): FILE: rainbow/config/parser.py class ConfigParser (line 32) | class ConfigParser(object): method __init__ (line 33) | def __init__(self, method parse_file (line 43) | def parse_file(self, config_file): FILE: rainbow/filter.py class Filter (line 22) | class Filter(object): method __init__ (line 23) | def __init__(self, name, help, short_option=None, long_option=None, be... method __str__ (line 31) | def __str__(self): class FilterGroup (line 35) | class FilterGroup(object): method __init__ (line 36) | def __init__(self, name, help, filters): method __str__ (line 41) | def __str__(self): FILE: rainbow/transformer.py class IdentityTransformer (line 25) | class IdentityTransformer(object): method __init__ (line 26) | def __init__(self): method transform (line 29) | def transform(self, line): method __str__ (line 32) | def __str__(self): method __eq__ (line 35) | def __eq__(self, other): class ReplaceTransformer (line 39) | class ReplaceTransformer(IdentityTransformer): method __init__ (line 40) | def __init__(self, value, replacement): method transform (line 45) | def transform(self, line): method __str__ (line 48) | def __str__(self): method __eq__ (line 51) | def __eq__(self, other): class ReplaceRegexTransformer (line 55) | class ReplaceRegexTransformer(IdentityTransformer): method __init__ (line 56) | def __init__(self, regex, replacement): method transform (line 61) | def transform(self, line): method __str__ (line 64) | def __str__(self): method __eq__ (line 67) | def __eq__(self, other): class InsertBeforeRegexTransformer (line 71) | class InsertBeforeRegexTransformer(IdentityTransformer): method __init__ (line 72) | def __init__(self, regex, before): method transform (line 77) | def transform(self, line): method __str__ (line 80) | def __str__(self): method __eq__ (line 83) | def __eq__(self, other): class InsertAfterRegexTransformer (line 87) | class InsertAfterRegexTransformer(IdentityTransformer): method __init__ (line 88) | def __init__(self, regex, after): method transform (line 93) | def transform(self, line): method __str__ (line 96) | def __str__(self): method __eq__ (line 99) | def __eq__(self, other): class InsertBeforeAndAfterRegexTransformer (line 103) | class InsertBeforeAndAfterRegexTransformer(IdentityTransformer): method __init__ (line 104) | def __init__(self, regex, before, after): method transform (line 110) | def transform(self, line): method __str__ (line 113) | def __str__(self): method __eq__ (line 116) | def __eq__(self, other): class ListTransformer (line 121) | class ListTransformer(IdentityTransformer): method __init__ (line 122) | def __init__(self, transformers): method transform (line 126) | def transform(self, line): method __str__ (line 131) | def __str__(self): method __eq__ (line 134) | def __eq__(self, other): class DummyTransformerBuilder (line 138) | class DummyTransformerBuilder(object): method __init__ (line 139) | def __init__(self): method add_mapping (line 142) | def add_mapping(self, pattern, filter): method build (line 145) | def build(self): class TransformerBuilder (line 149) | class TransformerBuilder(DummyTransformerBuilder): method add_mapping (line 151) | def add_mapping(self, pattern, filter): method make_transformer (line 156) | def make_transformer(regex, filter): method build (line 167) | def build(self): FILE: tests/command/test_execute.py function test_true (line 34) | def test_true(capfd, stdin): function test_false (line 43) | def test_false(capfd, stdin): function test_identity (line 52) | def test_identity(capfd, stdin): function test_identity_no_newline (line 69) | def test_identity_no_newline(capfd, stdin): function test_identity_partial_line (line 86) | def test_identity_partial_line(capfd, stdin): function test_identity_overwritten_line (line 109) | def test_identity_overwritten_line(capfd, stdin): function test_identity_bash (line 134) | def test_identity_bash(capfd, stdin): function test_identity_mixed_stdin_and_err (line 143) | def test_identity_mixed_stdin_and_err(capfd, stdin): function test_bufferized_output (line 162) | def test_bufferized_output(capfd, stdin): function test_bufferized_partial_lines (line 182) | def test_bufferized_partial_lines(capfd, stdin): function test_unflushed_output (line 199) | def test_unflushed_output(capfd, stdin): function test_cat_stdin (line 215) | def test_cat_stdin(capfd, stdin): function test_cat_stdin_two_lines (line 226) | def test_cat_stdin_two_lines(capfd, stdin): function test_stdout_transformer (line 235) | def test_stdout_transformer(capfd, stdin): function test_stdout_transformer_bash (line 251) | def test_stdout_transformer_bash(capfd, stdin): function test_stderr_transformer (line 263) | def test_stderr_transformer(capfd, stdin): function test_stderr_transformer_bash (line 279) | def test_stderr_transformer_bash(capfd, stdin): function test_stdout_and_stderr_transformers (line 291) | def test_stdout_and_stderr_transformers(capfd, stdin): function test_stdout_and_stderr_transformers_bash (line 308) | def test_stdout_and_stderr_transformers_bash(capfd, stdin): function test_read_bash (line 323) | def test_read_bash(capfd, stdin): function test_interrupted (line 335) | def test_interrupted(stdin): function test_malformed_utf8 (line 342) | def test_malformed_utf8(stdin): FILE: tests/command/test_noop.py function test_noop (line 24) | def test_noop(capsys): function test_noop_with_exit_code (line 32) | def test_noop_with_exit_code(capsys, exit_code): FILE: tests/command/test_print_config_names.py function test_empty_path (line 23) | def test_empty_path(capsys): function test_default_path (line 30) | def test_default_path(capsys): FILE: tests/command/test_print_path.py function test_empty_path (line 25) | def test_empty_path(capsys): function test_default_path (line 32) | def test_default_path(capsys): FILE: tests/command/test_stdin.py function test_empty (line 32) | def test_empty(capfd, stdin): function test_one_line (line 41) | def test_one_line(capfd, stdin): function test_several_lines (line 50) | def test_several_lines(capfd, stdin): function test_interrupted (line 58) | def test_interrupted(capfd): function test_malformed_utf8 (line 68) | def test_malformed_utf8(stdin): FILE: tests/config/test_builtin.py function load_builtin_config (line 46) | def load_builtin_config(config): function test_generate_flag_has_not_been_committed (line 57) | def test_generate_flag_has_not_been_committed(): function test_config_has_at_least_one_reference (line 62) | def test_config_has_at_least_one_reference(config): function test_config_loads_without_errors (line 67) | def test_config_loads_without_errors(config): function test_config_by_reference (line 73) | def test_config_by_reference(test): FILE: tests/config/test_loader.py function load_by_name (line 26) | def load_by_name(config): function load_from_command_line (line 40) | def load_from_command_line(args): function test_load_unresolvable_config_file (line 54) | def test_load_unresolvable_config_file(): function test_load_empty_config_file (line 59) | def test_load_empty_config_file(): function test_load_empty_config_file_from_command_line (line 66) | def test_load_empty_config_file_from_command_line(): function test_find_config_name_from_command_line_empty_args (line 73) | def test_find_config_name_from_command_line_empty_args(): function test_find_config_name_from_command_line_one_arg (line 77) | def test_find_config_name_from_command_line_one_arg(): function test_find_config_name_from_command_line_several_args (line 81) | def test_find_config_name_from_command_line_several_args(): function test_find_config_name_from_command_line_full_path (line 85) | def test_find_config_name_from_command_line_full_path(): function test_find_config_name_from_command_line_precommand (line 90) | def test_find_config_name_from_command_line_precommand(precommand): function test_find_config_name_from_command_line_precommand_with_args (line 95) | def test_find_config_name_from_command_line_precommand_with_args(precomm... function test_find_config_name_from_command_line_full_path_precommand (line 100) | def test_find_config_name_from_command_line_full_path_precommand(precomm... function test_find_config_name_from_command_line_full_path_precommand_with_args (line 105) | def test_find_config_name_from_command_line_full_path_precommand_with_ar... FILE: tests/config/test_locator.py function test_locate_config_file_empty_path (line 22) | def test_locate_config_file_empty_path(): function test_locate_inexistent_config_file_empty_path (line 26) | def test_locate_inexistent_config_file_empty_path(): function test_locate_config_file_none_in_path (line 30) | def test_locate_config_file_none_in_path(): function test_locate_inexistent_config_file_none_in_path (line 34) | def test_locate_inexistent_config_file_none_in_path(): function test_locate_config_file_path_without_extension (line 38) | def test_locate_config_file_path_without_extension(): function test_locate_config_file_path (line 42) | def test_locate_config_file_path(): function test_locate_config_file_filename (line 46) | def test_locate_config_file_filename(): function test_locate_config_file_filename_without_extension (line 50) | def test_locate_config_file_filename_without_extension(): function test_locate_config_file_in_directory_filename (line 54) | def test_locate_config_file_in_directory_filename(): function test_locate_config_file_in_directory_filename_without_extension (line 59) | def test_locate_config_file_in_directory_filename_without_extension(): FILE: tests/config/test_parser.py function parse (line 31) | def parse(config): function test_parse_inexistent_config (line 45) | def test_parse_inexistent_config(): function test_parse_empty_config (line 50) | def test_parse_empty_config(): function test_parse_empty_filters_section (line 57) | def test_parse_empty_filters_section(): function test_parse_empty_general_section (line 64) | def test_parse_empty_general_section(): function test_parse_empty_filters_and_general_sections (line 71) | def test_parse_empty_filters_and_general_sections(): function test_parse_two_empty_filters_sections (line 79) | def test_parse_two_empty_filters_sections(): function test_parse_one_filter (line 86) | def test_parse_one_filter(): function test_parse_two_different_filters (line 99) | def test_parse_two_different_filters(): function test_parse_two_times_same_filter (line 123) | def test_parse_two_times_same_filter(): function test_parse_filter_in_global_section (line 147) | def test_parse_filter_in_global_section(): function test_parse_one_filter_and_stderr_setting_enabled (line 154) | def test_parse_one_filter_and_stderr_setting_enabled(): function test_parse_one_filter_and_stderr_setting_enabled_uppercase (line 167) | def test_parse_one_filter_and_stderr_setting_enabled_uppercase(): function test_parse_one_filter_and_stderr_setting_disabled (line 180) | def test_parse_one_filter_and_stderr_setting_disabled(): function test_parse_one_filter_and_stderr_setting_disabled_uppercase (line 190) | def test_parse_one_filter_and_stderr_setting_disabled_uppercase(): function test_parse_one_filter_and_stderr_setting_disabled_with_no (line 200) | def test_parse_one_filter_and_stderr_setting_disabled_with_no(): function test_parse_one_filter_uppercase (line 210) | def test_parse_one_filter_uppercase(): function test_parse_one_filter_extra_spaces_before_regex (line 223) | def test_parse_one_filter_extra_spaces_before_regex(): function test_parse_unknown_filter (line 236) | def test_parse_unknown_filter(): function test_parse_unresolved_import (line 243) | def test_parse_unresolved_import(): function test_parse_unresolved_import_and_valid_filter (line 250) | def test_parse_unresolved_import_and_valid_filter(): function test_parse_relative_import_without_extension (line 263) | def test_parse_relative_import_without_extension(): function test_parse_relative_import_with_extension (line 276) | def test_parse_relative_import_with_extension(): function test_parse_invalid_key_in_general_section (line 289) | def test_parse_invalid_key_in_general_section(): function test_parse_two_times_same_filter_once_in_config_once_in_import (line 296) | def test_parse_two_times_same_filter_once_in_config_once_in_import(): function test_parse_multiple_relative_imports_without_extension (line 319) | def test_parse_multiple_relative_imports_without_extension(): function test_parse_filter_using_filter_name (line 332) | def test_parse_filter_using_filter_name(): function test_parse_filter_with_empty_pattern (line 345) | def test_parse_filter_with_empty_pattern(): function test_parse_empty_imports_section (line 352) | def test_parse_empty_imports_section(): function test_parse_multiple_imports_with_empty_one (line 359) | def test_parse_multiple_imports_with_empty_one(): function test_parse_invalid_section (line 366) | def test_parse_invalid_section(): function test_parse_invalid_stderr_filtering_value (line 373) | def test_parse_invalid_stderr_filtering_value(): FILE: tests/test_build.py function generate_completion (line 30) | def generate_completion(request, shell): function test_completion_filter_included (line 40) | def test_completion_filter_included(request, shell): function test_completion_ends_with_new_line (line 49) | def test_completion_ends_with_new_line(request, shell): function generate_man_page (line 54) | def generate_man_page(request): function test_manpage_filter_group_included (line 62) | def test_manpage_filter_group_included(request): function test_manpage_filter_included (line 69) | def test_manpage_filter_included(request): function test_manpage_ends_with_new_line (line 78) | def test_manpage_ends_with_new_line(request): FILE: tests/test_cli.py function parse (line 35) | def parse(args, stdout_builder=None, stderr_builder=None): function test_empty_args (line 48) | def test_empty_args(): function test_filter_short_option (line 56) | def test_filter_short_option(filter): function test_filter_long_option (line 64) | def test_filter_long_option(filter): function test_filter_short_option_without_value (line 72) | def test_filter_short_option_without_value(filter): function test_filter_long_option_without_value (line 80) | def test_filter_long_option_without_value(filter): function test_command (line 87) | def test_command(): function test_command_remaining_args_separator (line 96) | def test_command_remaining_args_separator(): function test_command_with_option (line 105) | def test_command_with_option(): function test_command_with_option_remaining_args_separator (line 114) | def test_command_with_option_remaining_args_separator(): function test_command_that_looks_like_a_short_option (line 123) | def test_command_that_looks_like_a_short_option(): function test_command_that_looks_like_a_short_option_remaining_args_separator (line 132) | def test_command_that_looks_like_a_short_option_remaining_args_separator(): function test_command_that_looks_like_a_long_option (line 141) | def test_command_that_looks_like_a_long_option(): function test_command_that_looks_like_a_long_option_remaining_args_separator (line 150) | def test_command_that_looks_like_a_long_option_remaining_args_separator(): function test_command_with_long_option_filter (line 160) | def test_command_with_long_option_filter(filter): function test_command_with_short_option_filter (line 171) | def test_command_with_short_option_filter(filter): function test_command_remaining_args_separator_with_long_option_filter (line 182) | def test_command_remaining_args_separator_with_long_option_filter(filter): function test_command_remaining_args_separator_with_short_option_filter (line 193) | def test_command_remaining_args_separator_with_short_option_filter(filter): function test_command_with_option_with_long_option_filter (line 204) | def test_command_with_option_with_long_option_filter(filter): function test_command_with_option_with_short_option_filter (line 215) | def test_command_with_option_with_short_option_filter(filter): function test_command_with_option_remaining_args_separator_with_long_option_filter (line 226) | def test_command_with_option_remaining_args_separator_with_long_option_f... function test_command_with_option_remaining_args_separator_with_short_option_filter (line 237) | def test_command_with_option_remaining_args_separator_with_short_option_... function test_command_with_same_option_as_rainbow (line 247) | def test_command_with_same_option_as_rainbow(): function test_command_with_same_option_as_rainbow_remaining_args_separator (line 256) | def test_command_with_same_option_as_rainbow_remaining_args_separator(): function test_unresolvable_config_file_short_option (line 265) | def test_unresolvable_config_file_short_option(): function test_unresolvable_config_file_long_option (line 271) | def test_unresolvable_config_file_long_option(): function test_config_file_by_relative_path_short_option (line 277) | def test_config_file_by_relative_path_short_option(): function test_config_file_by_relative_path_without_extension_short_option (line 285) | def test_config_file_by_relative_path_without_extension_short_option(): function test_config_file_by_relative_path_long_option (line 293) | def test_config_file_by_relative_path_long_option(): function test_config_file_by_relative_path_without_extension_long_option (line 301) | def test_config_file_by_relative_path_without_extension_long_option(): function test_dummy_transfomer_builder (line 309) | def test_dummy_transfomer_builder(): function test_verbose_short_option (line 320) | def test_verbose_short_option(): function test_verbose_long_option (line 331) | def test_verbose_long_option(): function test_verbose_twice_short_option (line 342) | def test_verbose_twice_short_option(): function test_verbose_twice_long_option (line 353) | def test_verbose_twice_long_option(): function test_print_path (line 364) | def test_print_path(): function test_print_path_with_extra_args (line 371) | def test_print_path_with_extra_args(): function test_print_config_names (line 378) | def test_print_config_names(): function test_print_config_names_with_extra_args (line 385) | def test_print_config_names_with_extra_args(): function test_version (line 392) | def test_version(): function test_help (line 399) | def test_help(): FILE: tests/test_filters.py function test_filter_group_has_name (line 29) | def test_filter_group_has_name(filter_group): function test_filter_group_has_help (line 34) | def test_filter_group_has_help(filter_group): function test_filter_group_has_filters (line 39) | def test_filter_group_has_filters(filter_group): function test_filter_group_has_a_unique_name (line 44) | def test_filter_group_has_a_unique_name(filter_group_name): function test_filter_group_name_syntax (line 49) | def test_filter_group_name_syntax(filter_group_name): function test_filter_group_has_a_unique_help (line 54) | def test_filter_group_has_a_unique_help(filter_group_help): function test_filter_group_help_syntax (line 59) | def test_filter_group_help_syntax(filter_group_help): function test_filter_group_has_unique_list_of_filters (line 64) | def test_filter_group_has_unique_list_of_filters(filter_group_filters): function test_filter_has_name (line 69) | def test_filter_has_name(filter): function test_filter_has_help (line 74) | def test_filter_has_help(filter): function test_filter_has_long_option (line 79) | def test_filter_has_long_option(filter): function test_filter_has_before_or_after (line 84) | def test_filter_has_before_or_after(filter): function test_filter_has_a_unique_name (line 89) | def test_filter_has_a_unique_name(filter_name): function test_filter_name_syntax (line 94) | def test_filter_name_syntax(filter_name): function test_filter_has_a_unique_help (line 99) | def test_filter_has_a_unique_help(filter_help): function test_filter_help_syntax (line 104) | def test_filter_help_syntax(filter_help): function test_filter_has_a_unique_short_option (line 109) | def test_filter_has_a_unique_short_option(filter_short_option): function test_filter_short_option_syntax (line 114) | def test_filter_short_option_syntax(filter_short_option): function test_filter_has_a_unique_long_option (line 119) | def test_filter_has_a_unique_long_option(filter_long_option): function test_filter_long_option_syntax (line 124) | def test_filter_long_option_syntax(filter_long_option): FILE: tests/test_main.py function test_true (line 34) | def test_true(capfd, stdin): function test_false (line 43) | def test_false(capfd, stdin): function test_warning (line 52) | def test_warning(capfd, stdin): function test_error (line 62) | def test_error(capfd, stdin, filter): function test_stacktrace (line 74) | def test_stacktrace(capfd, stdin): function test_read_from_stdin (line 83) | def test_read_from_stdin(capfd, stdin): function test_malformed_utf8_from_command (line 92) | def test_malformed_utf8_from_command(stdin): function test_malformed_utf8_from_command_with_filters (line 98) | def test_malformed_utf8_from_command_with_filters(stdin): function test_malformed_utf8_from_stdin (line 104) | def test_malformed_utf8_from_stdin(stdin): function test_malformed_utf8_from_stdin_with_filters (line 110) | def test_malformed_utf8_from_stdin_with_filters(stdin): FILE: tests/test_performance.py function test_invoke_command (line 23) | def test_invoke_command(benchmark): function test_invoke_python (line 32) | def test_invoke_python(benchmark): function test_python_invoke_command (line 41) | def test_python_invoke_command(benchmark): function test_rainbow_no_matching_config (line 53) | def test_rainbow_no_matching_config(benchmark): function test_rainbow_config_by_path_empty (line 62) | def test_rainbow_config_by_path_empty(benchmark): function test_rainbow_config_by_path_many_filters (line 71) | def test_rainbow_config_by_path_many_filters(benchmark): FILE: tests/test_rainbow.py function test_true (line 32) | def test_true(capfd, stdin): function test_false (line 41) | def test_false(capfd, stdin): function test_read_from_stdin (line 50) | def test_read_from_stdin(capfd, stdin): function test_malformed_utf8_from_command (line 59) | def test_malformed_utf8_from_command(stdin): function test_malformed_utf8_from_stdin (line 65) | def test_malformed_utf8_from_stdin(stdin): function test_version (line 71) | def test_version(capfd, stdin): function test_help_filter_group (line 80) | def test_help_filter_group(capfd, stdin): function test_help_filter_included (line 91) | def test_help_filter_included(capfd, stdin): FILE: tests/test_transformer.py function test_identity (line 34) | def test_identity(): function test_replace_not_matching (line 38) | def test_replace_not_matching(): function test_replace_matching (line 42) | def test_replace_matching(): function test_replace_multiples_matches (line 46) | def test_replace_multiples_matches(): function test_replace_regex_not_matching (line 50) | def test_replace_regex_not_matching(): function test_replace_regex_matching (line 54) | def test_replace_regex_matching(): function test_replace_regex_multiples_matches (line 58) | def test_replace_regex_multiples_matches(): function test_before_whole_line_matches (line 62) | def test_before_whole_line_matches(): function test_after_whole_line_matches (line 66) | def test_after_whole_line_matches(): function test_before_and_after_whole_line_matches (line 70) | def test_before_and_after_whole_line_matches(): function test_before_partial_line_matches (line 75) | def test_before_partial_line_matches(): function test_after_partial_line_matches (line 79) | def test_after_partial_line_matches(): function test_before_and_after_partial_line_matches (line 83) | def test_before_and_after_partial_line_matches(): function test_before_several_matches (line 88) | def test_before_several_matches(): function test_after_several_matches (line 93) | def test_after_several_matches(): function test_before_and_after_several_matches (line 98) | def test_before_and_after_several_matches(): function test_before_only_match_whole_line (line 103) | def test_before_only_match_whole_line(): function test_after_only_match_whole_line (line 108) | def test_after_only_match_whole_line(): function test_before_and_after_only_match_whole_line (line 113) | def test_before_and_after_only_match_whole_line(): function test_list_transformer (line 118) | def test_list_transformer(): function test_dummy_transformer_builder (line 125) | def test_dummy_transformer_builder(): function test_transformer_builder (line 133) | def test_transformer_builder(): function test_transformer_identity_str (line 152) | def test_transformer_identity_str(): function test_transformer_replace_str (line 156) | def test_transformer_replace_str(): function test_transformer_replace_regex_str (line 160) | def test_transformer_replace_regex_str(): function test_transformer_before_str (line 164) | def test_transformer_before_str(): function test_transformer_after_str (line 168) | def test_transformer_after_str(): function test_transformer_before_and_after_str (line 172) | def test_transformer_before_and_after_str(): function test_transformer_list_str (line 177) | def test_transformer_list_str(): function test_transformer_identity_eq (line 184) | def test_transformer_identity_eq(): function test_transformer_replace_eq (line 188) | def test_transformer_replace_eq(): function test_transformer_replace_regex_eq (line 192) | def test_transformer_replace_regex_eq(): function test_transformer_before_eq (line 197) | def test_transformer_before_eq(): function test_transformer_after_eq (line 202) | def test_transformer_after_eq(): function test_transformer_before_and_after_eq (line 207) | def test_transformer_before_and_after_eq(): function test_transformer_list_eq (line 213) | def test_transformer_list_eq(): function test_transformer_replace_not_eq (line 223) | def test_transformer_replace_not_eq(): function test_transformer_replace_regex_not_eq (line 227) | def test_transformer_replace_regex_not_eq(): function test_transformer_before_not_eq (line 232) | def test_transformer_before_not_eq(): function test_transformer_after_not_eq (line 237) | def test_transformer_after_not_eq(): function test_transformer_before_and_after_not_eq (line 242) | def test_transformer_before_and_after_not_eq(): function test_transformer_list_not_eq (line 248) | def test_transformer_list_not_eq(): FILE: tests/test_utils.py function run (line 61) | def run(command, pipe=True): function run_python (line 74) | def run_python(script, pipe=True): function run_rainbow (line 78) | def run_rainbow(args, pipe=True): function stdin_empty (line 86) | def stdin_empty(): function stdin_pipe (line 90) | def stdin_pipe(): function stdin_empty_all_variants (line 94) | def stdin_empty_all_variants(): function stdin_from_file_all_variants (line 98) | def stdin_from_file_all_variants(path): function stdin_from_string_all_variants (line 102) | def stdin_from_string_all_variants(contents): class CustomStdin (line 107) | class CustomStdin: method __init__ (line 108) | def __init__(self): method __enter__ (line 111) | def __enter__(self): method __exit__ (line 115) | def __exit__(self, type, value, traceback): method setup (line 120) | def setup(self): method teardown (line 123) | def teardown(self): class FileStdin (line 127) | class FileStdin(CustomStdin): method __init__ (line 128) | def __init__(self, path): method setup (line 132) | def setup(self): method __str__ (line 135) | def __str__(self): class StringAsFileStdin (line 139) | class StringAsFileStdin(CustomStdin): method __init__ (line 140) | def __init__(self, contents): method setup (line 144) | def setup(self): method __str__ (line 150) | def __str__(self): class StringAsPipeStdin (line 154) | class StringAsPipeStdin(CustomStdin): method __init__ (line 155) | def __init__(self, contents): method setup (line 159) | def setup(self): method __str__ (line 165) | def __str__(self): class PipeStdin (line 169) | class PipeStdin(CustomStdin): method __init__ (line 170) | def __init__(self): method setup (line 174) | def setup(self): method teardown (line 179) | def teardown(self): method write (line 183) | def write(self, string): method __str__ (line 186) | def __str__(self):