mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
test_bucket: update test_year_single_year
2015 was used as an example of date outside of [1970-current year] intervall which is not true anymore
This commit is contained in:
parent
405726ba13
commit
80038e2a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class BucketPluginTest(unittest.TestCase, TestHelper):
|
|||
year."""
|
||||
self._setup_config(bucket_year=['1950', '1970'])
|
||||
self.assertEqual(self.plugin._tmpl_bucket('2014'), '1970')
|
||||
self.assertEqual(self.plugin._tmpl_bucket('2015'), '2015')
|
||||
self.assertEqual(self.plugin._tmpl_bucket('2025'), '2025')
|
||||
|
||||
def test_year_two_years(self):
|
||||
"""Buckets can be named with the 'from-to' syntax."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue