You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2022/11/02 18:11:57 UTC
[allura] 15/15: [#8474] test fix
This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8474
in repository https://gitbox.apache.org/repos/asf/allura.git
commit f743a9a7051cde0963dbe8a130244f4e03c57ce1
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Wed Nov 2 18:11:18 2022 +0000
[#8474] test fix
---
Allura/allura/tests/scripts/test_create_sitemap_files.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Allura/allura/tests/scripts/test_create_sitemap_files.py b/Allura/allura/tests/scripts/test_create_sitemap_files.py
index 31fa0bfd1..89cca8691 100644
--- a/Allura/allura/tests/scripts/test_create_sitemap_files.py
+++ b/Allura/allura/tests/scripts/test_create_sitemap_files.py
@@ -45,7 +45,7 @@ class TestCreateSitemapFiles:
rmtree(tmpdir.path) # needs to be non-existent for the script
self.run_script(['-o', tmpdir.path])
- tmpdir.check('sitemap-0.xml', 'sitemap.xml')
+ tmpdir.compare(['sitemap-0.xml', 'sitemap.xml'],recursive=False, files_only=True)
xml_index = ET.parse(os.path.join(tmpdir.path, 'sitemap.xml'))
ns = {'ns0': 'http://www.sitemaps.org/schemas/sitemap/0.9'}