@@ -84,22 +84,6 @@ def test_rootpath_detect_entry(self):
8484
8585 self .assertEqual (root_path , foo_root_path )
8686
87- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo' ))
88-
89- self .assertEqual (root_path , foo_root_path )
90-
91- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/' ))
92-
93- self .assertEqual (root_path , foo_root_path )
94-
95- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo' ))
96-
97- self .assertEqual (root_path , foo_root_path )
98-
99- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo/' ))
100-
101- self .assertEqual (root_path , foo_root_path )
102-
10387 root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo/utils' ))
10488
10589 self .assertEqual (root_path , foo_root_path )
@@ -127,22 +111,6 @@ def test_rootpath_detect_entry_pattern(self):
127111
128112 self .assertNotEqual (root_path , foo_root_path )
129113
130- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo' ), 'not_a_file' )
131-
132- self .assertNotEqual (root_path , foo_root_path )
133-
134- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/' ), 'not_a_file' )
135-
136- self .assertNotEqual (root_path , foo_root_path )
137-
138- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo' ), 'not_a_file' )
139-
140- self .assertNotEqual (root_path , foo_root_path )
141-
142- root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo/' ), 'not_a_file' )
143-
144- self .assertNotEqual (root_path , foo_root_path )
145-
146114 root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/foo/utils' ), 'not_a_file' )
147115
148116 self .assertNotEqual (root_path , foo_root_path )
@@ -178,7 +146,7 @@ def test_rootpath_detect_entry_nested(self):
178146
179147 self .assertEqual (root_path , bar_root_path )
180148
181- def test_rootpath_detect_entry_nested (self ):
149+ def test_rootpath_detect_entry_nested_pattern (self ):
182150 bar_root_path = helper .fixture_path ('projects/py-foo/vendor/py-bar' )
183151
184152 root_path = rootpath .detect (helper .fixture_path ('projects/py-foo/vendor/py-bar' ), 'not_a_file' )
0 commit comments