def METHOD_NAME(self):
    """If a single year is given for the last bucket, extend it to current
    year."""
    self._setup_config(bucket_year=['1950', '1970'])
    self.assertEqual(self.plugin._tmpl_bucket('2014'), '1970')
    self.assertEqual(self.plugin._tmpl_bucket('2025'), '2025')