mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-27 09:34:42 +00:00
Add a regression test for the sitemap parser
This commit is contained in:
parent
a1af1e9717
commit
87b504785c
2 changed files with 5 additions and 0 deletions
4
tests/checker/data/sitemap.xml.result
Normal file
4
tests/checker/data/sitemap.xml.result
Normal 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
|
||||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue