'If the supplied timestamp is later than the lastModified attribute\'s
value, L{http.Request.setLastModified} updates the lastModifed
attribute.'

def test_setLastModifiedUpdate(self):

    req = http.Request(DummyChannel(), False)
    req.setLastModified(0)
    req.setLastModified(1)
    self.assertEqual(req.lastModified, 1)
