@@ -1063,8 +1063,8 @@ def test_collect_inventory_in_directory_with_correct_about_file_path(self):
10631063 _errors , abouts = model .collect_inventory (test_loc )
10641064 assert 2 == len (abouts )
10651065
1066- expected = ['collect-inventory-errors/ non-supported_date_format.ABOUT' ,
1067- 'collect-inventory-errors/ supported_date_format.ABOUT' ]
1066+ expected = ['non-supported_date_format.ABOUT' ,
1067+ 'supported_date_format.ABOUT' ]
10681068 result = [a .about_file_path for a in abouts ]
10691069 assert sorted (expected ) == sorted (result )
10701070
@@ -1125,7 +1125,7 @@ def test_collect_inventory_populate_about_file_path(self):
11251125 test_loc = get_test_loc ('parse/complete' )
11261126 errors , abouts = model .collect_inventory (test_loc )
11271127 assert [] == errors
1128- expected = 'complete/ about.ABOUT'
1128+ expected = 'about.ABOUT'
11291129 result = abouts [0 ].about_file_path
11301130 assert expected == result
11311131
@@ -1150,7 +1150,7 @@ def test_collect_inventory_works_with_relative_paths(self):
11501150 errors2 , abouts2 = model .collect_inventory (test_loc2 )
11511151 assert [] == errors1
11521152 assert [] == errors2
1153- expected = 'complete/ about.ABOUT'
1153+ expected = 'about.ABOUT'
11541154 result1 = abouts1 [0 ].about_file_path
11551155 result2 = abouts2 [0 ].about_file_path
11561156 assert expected == result1
@@ -1169,7 +1169,7 @@ def as_items(csvfile):
11691169 assert expected == result
11701170
11711171 def test_collect_inventory_basic_from_directory (self ):
1172- location = get_test_loc ('inventory/basic/about ' )
1172+ location = get_test_loc ('inventory/basic' )
11731173 result = get_temp_file ()
11741174 errors , abouts = model .collect_inventory (location )
11751175
@@ -1186,7 +1186,7 @@ def test_collect_inventory_basic_from_directory(self):
11861186 # and do the comparson, it may be best to apply the mapping to include theses keys
11871187 @expectedFailure
11881188 def test_collect_inventory_complex_from_directory (self ):
1189- location = get_test_loc ('inventory/complex/about ' )
1189+ location = get_test_loc ('inventory/complex' )
11901190 result = get_temp_file ()
11911191 errors , abouts = model .collect_inventory (location )
11921192
0 commit comments