'Buckets can be named with the \'from-to\' syntax.'

def test_year_two_years(self):

    self._setup_config(bucket_year=['1950-59', '1960-1969'])
    self.assertEqual(self.plugin._tmpl_bucket('1959'), '1950-59')
    self.assertEqual(self.plugin._tmpl_bucket('1969'), '1960-1969')
