mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 04:22:40 +01:00
Update assertion with correct error name
This commit is contained in:
parent
fbb868e5ed
commit
e1101d4e95
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class DateQueryConstructTest(unittest.TestCase):
|
|||
self.assertEqual(date_query.interval.end, datetime(2000, 1, 1, 13))
|
||||
|
||||
def test_datetime_invalid_separator(self):
|
||||
with self.assertRaises(InvalidQueryArgumentTypeError):
|
||||
with self.assertRaises(InvalidQueryArgumentValueError):
|
||||
DateQuery('added', '2000-01-01x12')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue