mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-26 17:14:42 +00:00
check modified time after parsing
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3353 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
53e3bd70b9
commit
df7bf82baf
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class TestRobotsTxt (unittest.TestCase):
|
|||
"User-agent: *",
|
||||
]
|
||||
self.rp.parse(lines)
|
||||
self.assert_(self.rp.mtime() > 0)
|
||||
self.assertEquals(str(self.rp), "\n".join(lines))
|
||||
|
||||
def test_robotstxt2 (self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue