typo in test
This commit is contained in:
parent
08c1a82c30
commit
a854b804f0
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue