File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,20 +39,52 @@ def test_cleaner():
3939 )
4040 cleaner .clean ()
4141 assert cleaner .dictionary_report () == {
42- 'scanned_files' : 9 ,
43- 'ds_store' : 1 ,
44- 'bad_unicode_base_path' : False ,
45- 'bad_unicode_dir' : 1 ,
46- 'bad_unicode_file' : 1 ,
47- 'dot_underscored' : 1 ,
48- 'dot_any_size' : 1 ,
49- 'dot_not_matching' : 1 ,
50- 'dot_underscored_only' : 1 ,
51- 'ds_store_fixed' : True ,
52- 'bad_unicode_fixed' : True ,
53- 'dot_underscored_fixed' : True ,
54- 'dot_any_size_fixed' : True ,
55- 'dot_not_matching_fixed' : True
42+ "scanned_files" : 9 ,
43+ "scanned_dirs" : 3 ,
44+ "scan_failed_dirs" : 0 ,
45+ "bad_unicode_base_path" : False ,
46+ "ds_store" : {
47+ "cleaned" : 1 ,
48+ "clean_failed" : 0 ,
49+ "scanned" : 0 ,
50+ "fix" : True
51+ },
52+ "bad_unicode_dir" : {
53+ "cleaned" : 1 ,
54+ "clean_failed" : 0 ,
55+ "scanned" : 0 ,
56+ "fix" : True
57+ },
58+ "bad_unicode_file" : {
59+ "cleaned" : 1 ,
60+ "clean_failed" : 0 ,
61+ "scanned" : 0 ,
62+ "fix" : True
63+ },
64+ "dot_underscored" : {
65+ "cleaned" : 1 ,
66+ "clean_failed" : 0 ,
67+ "scanned" : 0 ,
68+ "fix" : True
69+ },
70+ "dot_any_size" : {
71+ "cleaned" : 1 ,
72+ "clean_failed" : 0 ,
73+ "scanned" : 0 ,
74+ "fix" : True
75+ },
76+ "dot_not_matching" : {
77+ "cleaned" : 1 ,
78+ "clean_failed" : 0 ,
79+ "scanned" : 0 ,
80+ "fix" : True
81+ },
82+ "dot_underscored_only" : {
83+ "cleaned" : 1 ,
84+ "clean_failed" : 0 ,
85+ "scanned" : 0 ,
86+ "fix" : True
87+ }
5688 }
5789
5890 walk_iter = iter (os .walk (TEST_DIR ))
You can’t perform that action at this time.
0 commit comments