typo in test

This commit is contained in:
meeb 2020-12-18 16:01:53 +11:00
parent 08c1a82c30
commit a854b804f0
1 changed files with 2 additions and 2 deletions

View File

@ -532,8 +532,8 @@ class FilepathTestCase(TestCase):
self.assertEqual(self.media.filename, '2017/mediakey.mkv')
self.source.media_format = '{yyyy}/{yyyy_mm_dd}/{key}.{ext}'
self.assertEqual(self.media.directory_path,
str(self.source.directory_path / '2017/20179-11'))
self.assertEqual(self.media.filename, '2017/20179-11/mediakey.mkv')
str(self.source.directory_path / '2017/2017-09-11'))
self.assertEqual(self.media.filename, '2017/2017-09-11/mediakey.mkv')
# Check media specific media format keys work
test_media = Media.objects.create(
key='test',