Give priorities to transcoding types

This commit is contained in:
2022-04-06 19:52:44 +02:00
parent 926224a6e1
commit 48473b2a90
2 changed files with 12 additions and 9 deletions

View File

@@ -9,5 +9,5 @@ class GetShortNameOfTranscodingTypeTestCase(SimpleTestCase):
def test_gets_transcoding_by_transcoding_object(self):
result = get_short_name_of_transcoding_type(TranscodingType(name='Looooong naaaaame', short_name='shrt nm',
description='Some Description'))
description='Some Description', priority=1))
self.assertEqual(result, 'shrt nm')