Add a regression test for the sitemap parser

This commit is contained in:
Marius Gedminas 2019-10-23 17:29:46 +03:00
parent a1af1e9717
commit 87b504785c
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
url http://localhost:%(port)d/%(datadir)s/sitemap.xml
cache key http://localhost:%(port)d/%(datadir)s/sitemap.xml
real url http://localhost:%(port)d/%(datadir)s/sitemap.xml
valid

View file

@ -26,6 +26,7 @@ class TestHttpMisc (HttpServerTest):
@need_network
def test_html (self):
self.swf_test()
self.file_test("sitemap.xml")
def swf_test (self):
url = self.get_url(u"test.swf")