@@ -133,10 +133,10 @@ def all_included_links(self, user_admin_project_public, user_admin_project_priva
133133 urls_to_include .extend ([
134134 user_admin_project_public .url ,
135135 user_admin_project_private .url ,
136- project_registration_public .url ,
137- project_preprint_osf .url ,
138- project_preprint_other .url ,
139- registration_active .url ,
136+ project_registration_public .url + 'overview' ,
137+ project_preprint_osf .url + 'overview' ,
138+ project_preprint_other .url + 'overview' ,
139+ registration_active .url + 'overview' ,
140140 f'/preprints/{ provider_osf ._id } /{ preprint_osf ._id } ' ,
141141 f'/preprints/{ provider_osf ._id } /{ preprint_osf_version ._id } ' ,
142142 f'/preprints/{ provider_other ._id } /{ preprint_other ._id } ' ,
@@ -182,18 +182,18 @@ def test_private_project_link_not_included(self, project_private, create_tmp_dir
182182 with mock .patch ('website.settings.STATIC_FOLDER' , create_tmp_directory ):
183183 urls = get_all_sitemap_urls ()
184184
185- assert urljoin (settings .DOMAIN , project_private .url ) not in urls
185+ assert urljoin (settings .DOMAIN , project_private .url + 'overview' ) not in urls
186186
187187 def test_embargoed_registration_link_not_included (self , registration_embargoed , create_tmp_directory ):
188188
189189 with mock .patch ('website.settings.STATIC_FOLDER' , create_tmp_directory ):
190190 urls = get_all_sitemap_urls ()
191191
192- assert urljoin (settings .DOMAIN , registration_embargoed .url ) not in urls
192+ assert urljoin (settings .DOMAIN , registration_embargoed .url + 'overview' ) not in urls
193193
194194 def test_deleted_project_link_not_included (self , project_deleted , create_tmp_directory ):
195195
196196 with mock .patch ('website.settings.STATIC_FOLDER' , create_tmp_directory ):
197197 urls = get_all_sitemap_urls ()
198198
199- assert urljoin (settings .DOMAIN , project_deleted .url ) not in urls
199+ assert urljoin (settings .DOMAIN , project_deleted .url + 'overview' ) not in urls
0 commit comments