File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ def test_collect_can_collect_a_directory_tree(self):
152152 def test_collect_can_collect_a_single_file (self ):
153153 test_file = ('about_code_tool/tests/testdata/thirdparty'
154154 '/django_snippets_2413.ABOUT' )
155- expected = ['about_code_tool/tests/testdata/thirdparty'
156- '/django_snippets_2413.ABOUT' ]
155+ expected = [os . path . abspath ( 'about_code_tool/tests/testdata/thirdparty'
156+ '/django_snippets_2413.ABOUT' ) ]
157157 result = about .Collector .collect (test_file )
158158 if on_windows :
159159 expected = [to_posix (UNC_PREFIX + os .path .abspath ('about_code_tool/tests/testdata/thirdparty'
@@ -162,8 +162,8 @@ def test_collect_can_collect_a_single_file(self):
162162
163163 def test_collect_can_collect_a_long_directory_tree (self ):
164164 test_dir = 'about_code_tool/tests/testdata/longpath/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/'
165- expected = [('about_code_tool/tests/testdata/longpath/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1'
166- '/non-supported_date_format.ABOUT' )]
165+ expected = [os . path . abspath ( ('about_code_tool/tests/testdata/longpath/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1/longpath1'
166+ '/non-supported_date_format.ABOUT' )) ]
167167 result = about .Collector .collect (test_dir )
168168 if on_windows :
169169 # For some reasons, the os.path.abspath doesn't work if I have long
You can’t perform that action at this time.
0 commit comments