Conditions | 4 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
1 | # -*- coding: utf-8 -*- |
||
47 | def test_dot_path(): |
||
48 | files = """ |
||
49 | - a: |
||
50 | - .skipfile: | |
||
51 | b/.c/d/e |
||
52 | - b: |
||
53 | - .c: |
||
54 | - d: |
||
55 | - e: | |
||
56 | hello |
||
57 | - f: | |
||
58 | world |
||
59 | - g |
||
60 | """ |
||
61 | print "test_dot_path" |
||
62 | with create_files(files) as directory: |
||
63 | os.chdir(directory) |
||
64 | assert [fname for _hex, fname in list_files('a', directory)] == ['g'] |
||
65 |