Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Slice decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Assign NameStore Str Expr Call NameLoad CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Assign NameStore Call NameLoad Str Str Str Assign NameStore TupleLoad Call NameLoad Str Str Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Dict Str Str Num ListLoad Dict Str Str Str Str Str Str Str Str Dict Str Str Str Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Call NameLoad Str Str Str Call NameLoad NameLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad Str Str Str Call NameLoad Str Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Call NameLoad Str Str Str Assign NameStore Call NameLoad ListLoad Call NameLoad Str Str Str Assign NameStore Call NameLoad ListLoad Call NameLoad Str Str Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call NameLoad Str Str Str Call NameLoad Str Str Str Assign NameStore Call NameLoad ListLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Str Str Str TupleLoad Dict Str Str Str Str Str Str ListLoad Str Str Str TupleLoad Str Dict Str Str Str Str Dict Str Str Str Str ListLoad Str Str Dict Str Str Str Str ListLoad Str Str Dict Str Str Str Str ListLoad Str Str Dict Str Str Str Str ListLoad Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str TupleLoad For TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad Str Str Expr Call NameLoad Call NameLoad Str Str Expr Call NameLoad Call NameLoad Str Str Expr Call NameLoad Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Str Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body With NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Break decorator_list decorator_list Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad ListLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad NameLoad BinOpAdd NameLoad Num decorator_list Assign NameStore BinOpAdd Call NameLoad Num Num Call NameLoad Num Num Assign NameStore Call NameLoad Num Num FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLtE NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad orelse If CompareLtE NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr NameLoad orelse If CompareLtE NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareLtE NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A json N/A logging N/A os N/A random N/A re N/A tempfile N/A threading desktop.redaction.engine RedactionEngine RedactionPolicy RedactionRule parse_redaction_policy_from_file _convert_java_pattern_to_python desktop.redaction.logfilter add_log_redaction_filter_to_logger nose.tools assert_true assert_equal assert_not_equal raises N/A MESSAGE This string is not redacted get_path N/A N/A filename N/A N/A N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ test_data filename N/A MockLoggingHandler N/A N/A logging Handler N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A logging Handler __init__ self args kwargs N/A N/A self records N/A N/A emit N/A N/A self record N/A N/A N/A N/A N/A N/A self records append record N/A reset N/A N/A self N/A N/A N/A N/A N/A self records N/A N/A N/A TestRedactionRule N/A object N/A test_redaction_rule_works N/A N/A self N/A N/A N/A rule N/A RedactionRule password= password=".*" password="???" N/A test_strings N/A N/A message message N/A password="a password" password="???" N/A before password="a password" after before password="???" after N/A N/A message redacted_message test_strings N/A N/A N/A assert_equal N/A N/A rule redact message redacted_message N/A test_non_redacted_string_returns_same_string N/A N/A self N/A N/A N/A rule N/A RedactionRule password= password=".*" password="???" N/A message message N/A N/A assert_true N/A N/A N/A rule redact message message N/A test_equality N/A N/A self N/A N/A N/A rule1 N/A RedactionRule password= password=".*" password="???" N/A rule2 N/A RedactionRule password= password=".*" password="???" N/A rule3 N/A N/A RedactionRule ssn= ssn=\d{3}-\d{2}-\d{4} ssn=XXX-XX-XXXX N/A N/A assert_equal rule1 rule2 N/A N/A assert_not_equal rule1 rule3 N/A test_parse_redaction_policy_from_file N/A N/A self N/A N/A N/A N/A N/A tempfile NamedTemporaryFile f N/A N/A N/A N/A json dump N/A version rules 1 N/A N/A description trigger search replace redact passwords password= password=".*" password="???" N/A description search replace redact social security numbers \d{3}-\d{2}-\d{4} XXX-XX-XXXX f N/A N/A N/A f flush N/A policy N/A parse_redaction_policy_from_file N/A f name N/A N/A assert_equal N/A policy rules N/A N/A RedactionRule password= password=".*" password="???" N/A RedactionRule None \d{3}-\d{2}-\d{4} XXX-XX-XXXX N/A N/A TestRedactionEngine N/A object N/A test_redaction_works N/A N/A self N/A N/A N/A redaction_engine N/A RedactionEngine N/A N/A RedactionRule password= password=".*" password="???" N/A RedactionRule ssn= ssn=\d{3}-\d{2}-\d{4} ssn=XXX-XX-XXXX N/A test_strings N/A N/A message message N/A password="a password" password="???" N/A before password="a password" after before password="???" after N/A an ssn=123-45-6789 an ssn=XXX-XX-XXXX N/A N/A message redacted_message test_strings N/A N/A N/A assert_equal N/A N/A redaction_engine redact message redacted_message N/A test_equality N/A N/A self N/A N/A N/A engine1 N/A RedactionEngine N/A N/A RedactionRule password= password=".*" password="???" N/A engine2 N/A RedactionEngine N/A N/A RedactionRule password= password=".*" password="???" N/A engine3 N/A RedactionEngine N/A N/A RedactionRule ssn= ssn=\d{3}-\d{2}-\d{4} ssn=XXX-XX-XXXX N/A N/A assert_equal engine1 engine2 N/A N/A assert_not_equal engine1 engine3 N/A N/A TestRedactionLogFilter N/A object N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls logger N/A N/A logging getLogger N/A cls __name__ N/A N/A cls handler N/A MockLoggingHandler N/A N/A N/A N/A cls logger addHandler N/A cls handler N/A policy N/A RedactionPolicy N/A N/A RedactionRule password= password=".*" password="???" N/A RedactionRule ssn= ssn=\d{3}-\d{2}-\d{4} ssn=XXX-XX-XXXX N/A engine N/A RedactionEngine N/A policy N/A N/A add_log_redaction_filter_to_logger engine N/A cls logger N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A N/A cls logger handlers N/A N/A classmethod tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self handler reset N/A test_redaction_filter N/A N/A self N/A N/A N/A test_strings N/A N/A message result_message result_msg result_args message message message N/A N/A message args result_message result_msg result_args message %s N/A an arg message an arg message %s N/A an arg N/A message result_message password="a password" password="???" N/A message args result_message password="%s" N/A a password password="???" N/A message args result_message password=%s N/A "a password" password="???" N/A message args result_message before password="%s" after N/A a password before password="???" after N/A message args result_message ssn=%s-%s-%s N/A 123 45 6789 ssn=XXX-XX-XXXX N/A test test_strings N/A N/A N/A N/A N/A self logger debug N/A test N/A message N/A N/A test get args N/A N/A N/A test record N/A zip test_strings N/A N/A self handler records N/A N/A N/A assert_equal N/A N/A record getMessage N/A test N/A result_message N/A N/A assert_equal N/A record message N/A test N/A result_message N/A N/A assert_equal N/A record msg N/A N/A test get result_msg N/A test N/A result_message N/A N/A assert_equal N/A record args N/A N/A test get result_args N/A test_convert_java_pattern_to_python N/A N/A self N/A N/A N/A N/A assert_equal N/A _convert_java_pattern_to_python 1-2 1-2 N/A N/A assert_equal N/A _convert_java_pattern_to_python $1-$2 \1-\2 N/A N/A assert_equal N/A _convert_java_pattern_to_python \$1-$2 $1-\2 N/A N/A assert_equal N/A _convert_java_pattern_to_python \$$1-$2 $\1-\2 N/A test_does_not_exist N/A N/A self N/A N/A N/A path N/A get_path thisfiledoesnotexist.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises IOError test_is_dir N/A N/A self N/A N/A N/A path /tmp N/A N/A parse_redaction_policy_from_file path N/A N/A raises IOError test_is_not_json N/A N/A self N/A N/A N/A path N/A get_path not-json.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises IOError test_no_version N/A N/A self N/A N/A N/A path N/A get_path no-version.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_unknown_version N/A N/A self N/A N/A N/A path N/A get_path unknown-version.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_alpha_version N/A N/A self N/A N/A N/A path N/A get_path alpha-version.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_no_search N/A N/A self N/A N/A N/A path N/A get_path no-search.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_no_replace N/A N/A self N/A N/A N/A path N/A get_path no-replace.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_no_brace N/A N/A self N/A N/A N/A path N/A get_path no-brace.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_bad_regex N/A N/A self N/A N/A N/A path N/A get_path bad-regex.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises N/A re error test_extra_attr N/A N/A self N/A N/A N/A path N/A get_path extra-attr.json N/A N/A parse_redaction_policy_from_file path N/A N/A raises ValueError test_empty_file N/A N/A self N/A N/A N/A path N/A get_path empty.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal MESSAGE N/A N/A policy redact MESSAGE N/A test_empty_rules N/A N/A self N/A N/A N/A path N/A get_path empty-rules.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal MESSAGE N/A N/A policy redact MESSAGE N/A test_basic_good1 N/A N/A self N/A N/A N/A path N/A get_path good-1.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal Hxllx, wxrld N/A N/A policy redact Hello, world N/A test_int_version N/A N/A self N/A N/A N/A path N/A get_path verint.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal Hxllx, wxrld N/A N/A policy redact Hello, world N/A test_real_rules N/A N/A self N/A N/A N/A path N/A get_path real-1.json N/A policy N/A parse_redaction_policy_from_file path N/A messages N/A N/A Hello, world Hello, world N/A CC 1234-2345-3456-4576 CC XXXX-XXXX-XXXX-XXXX N/A CC 1234234534654576 CC XXXXXXXXXXXXXXXX N/A CC 1234,2345,3456,4576 CC XXXX-XXXX-XXXX-XXXX N/A SSN 123-45-6789 SSN XXX-XX-XXXX N/A SSN 123456789 SSN XXXXXXXXX N/A My password=Hello123 My password=xxxxx N/A Host www.cloudera.com Host HOSTNAME.REDACTED N/A www.c1-foo.org rules! HOSTNAME.REDACTED rules! N/A IP1 8.8.8.8 IP1 0.0.0.0 N/A IP2 192.168.0.1 IP2 0.0.0.0 N/A My email is myoder@cloudera.com My email is email@redacted.host N/A hello.world@ex.x-1.fr is interesting email@redacted.host is interesting N/A Multi 1234-2345-3456-4567
Line 123-45-6789 Multi XXXX-XXXX-XXXX-XXXX
Line XXX-XX-XXXX N/A N/A message redacted_message messages N/A N/A N/A assert_equal redacted_message N/A N/A policy redact message N/A test_huge_rules N/A N/A self N/A N/A N/A path N/A get_path huge-1.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal This string is not redadted N/A N/A policy redact MESSAGE N/A test_back_refs N/A N/A self N/A N/A N/A path N/A get_path replace-1.json N/A policy N/A parse_redaction_policy_from_file path N/A messages N/A N/A Hello, world Hello, world N/A 1234-2345-3456-4576 XXXX-XXXX-XXXX-4576 N/A Words www.gmail.com is cool Words HOSTNAME.REDACTED.com is cool N/A short.org HOSTNAME.REDACTED.org N/A long.n4me.h-1.co.fr HOSTNAME.REDACTED.fr N/A Ping 192.168.0.1 Ping 0.192.1.168 N/A Magic word word: Magic word, word N/A N/A message redacted_message messages N/A N/A N/A assert_equal redacted_message N/A N/A policy redact message N/A test_ordering N/A N/A self N/A N/A N/A path N/A get_path ordering-1.json N/A policy N/A parse_redaction_policy_from_file path N/A messages N/A N/A Hello, world Hello, world N/A one four N/A This one is a nice one This four is a nice four N/A Please help me: ten Please help me: thirteen N/A HappY abc HappY stu N/A N/A message redacted_message messages N/A N/A N/A assert_equal redacted_message N/A N/A policy redact message N/A test_case_sensitivity N/A N/A self N/A N/A N/A path N/A get_path case-1.json N/A policy N/A parse_redaction_policy_from_file path N/A messages N/A N/A Hello, world Hello, world N/A Say aAa! aaa! AAAAAA! Say bbb! bbb! bbbbbb! N/A I like dddogs. dDd I like dddogs. dDd N/A Cccats. Dddogs Cccats. eEeogs N/A Trigger fff gGg Trigger fff gGg N/A Trigger fFf Ggg Trigger fFf Ggg N/A Trigger fFf gGg Trigger fFf hHh N/A N/A message redacted_message messages N/A N/A N/A assert_equal redacted_message N/A N/A policy redact message N/A test_multithreading N/A N/A self N/A N/A N/A path N/A get_path numbers.json N/A policy N/A parse_redaction_policy_from_file path N/A N/A assert_equal asdf####fdas### H#ll# w#rld N/A N/A policy redact asdf1234fdas666 H3ll0 w0rld N/A errors N/A N/A lock N/A N/A threading Lock N/A regex N/A N/A re compile [0-9] TestThread N/A N/A threading Thread N/A run N/A N/A self N/A N/A N/A i N/A xrange 500 N/A N/A message N/A N/A join N/A N/A random_utf8_char N/A _ N/A xrange 128 N/A redacted_message N/A N/A policy redact message N/A N/A N/A regex search redacted_message N/A N/A lock N/A N/A N/A N/A errors append N/A message redacted_message N/A N/A N/A N/A threads N/A N/A i N/A xrange 10 N/A N/A N/A N/A threads append N/A TestThread N/A thread threads N/A N/A N/A N/A thread start N/A thread threads N/A N/A N/A N/A thread join N/A N/A assert_equal errors N/A N/A N/A byte_range N/A N/A first last N/A N/A N/A N/A list N/A range first N/A last 1 N/A N/A first_values N/A N/A byte_range 0 127 N/A byte_range 194 244 N/A trailing_values N/A byte_range 128 191 random_utf8_char N/A N/A N/A N/A N/A first N/A N/A random choice first_values N/A N/A first 127 N/A N/A value N/A bytearray N/A first N/A N/A N/A first 223 N/A N/A value N/A bytearray N/A first N/A N/A random choice trailing_values N/A N/A N/A first 224 N/A N/A value N/A bytearray N/A first N/A N/A random choice N/A byte_range 160 191 N/A N/A random choice trailing_values N/A N/A N/A first 237 N/A N/A value N/A bytearray N/A first N/A N/A random choice N/A byte_range 128 159 N/A N/A random choice trailing_values N/A N/A N/A first 239 N/A N/A value N/A bytearray N/A first N/A N/A random choice trailing_values N/A N/A random choice trailing_values N/A N/A N/A first 240 N/A N/A value N/A bytearray N/A first N/A N/A random choice N/A byte_range 144 191 N/A N/A random choice trailing_values N/A N/A random choice trailing_values N/A N/A N/A first 243 N/A N/A value N/A bytearray N/A first N/A N/A random choice trailing_values N/A N/A random choice trailing_values N/A N/A random choice trailing_values N/A N/A N/A first 244 N/A N/A value N/A bytearray N/A first N/A N/A random choice N/A byte_range 128 143 N/A N/A random choice trailing_values N/A N/A random choice trailing_values N/A N/A N/A value decode utf8 N/A