'Information updates that are more than the hard-coded expiration period
(in seconds) old are wiped.'

def test_expiration(self):

    service = self.service()
    service.apply_changes([self.WITH_APPS])
    advance_rest(self.clock)
    before_wipe_state = service.as_deployment()
    advance_some(self.clock)
    after_wipe_state = service.as_deployment()
    self.assertEqual([before_wipe_state, after_wipe_state], [DeploymentState(nodes=[self.WITH_APPS]), DeploymentState()])
