35 Commits

Author SHA1 Message Date
bastiaan 6885feb980 Add tests for codec orders 2022-04-07 20:50:15 +02:00
bastiaan 8351e6983c Add view test for correct transcoding order 2022-04-06 20:10:37 +02:00
bastiaan 93843fdcad Fix tests for transcoding type order 2022-04-06 20:10:37 +02:00
bastiaan 60accdc618 Add get_transcoding_type_by_name() 2022-04-06 20:10:37 +02:00
bastiaan 48473b2a90 Give priorities to transcoding types 2022-04-06 20:10:37 +02:00
bastiaan 9585eb7416 Added view tests for tracks 2022-04-05 22:40:24 +02:00
bastiaan 5a87ba6d64 Added Track model 2022-04-05 09:06:03 +02:00
bastiaan d3e071c93d Add TranscodingType.description and set correct short_name 2022-04-03 15:59:57 +02:00
bastiaan 9f0b6881dd Asure not too many queries are run 2020-05-21 20:09:03 +02:00
bastiaan c17b558d14 Ability to generate unique fields in factories 2020-05-21 20:09:03 +02:00
bastiaan c6f2bacf0f Useful conditions can be put in lambdas
and an extra test to asure transcoding with upload is possible
2020-05-21 19:41:57 +02:00
bastiaan 2e1c7e7165 Raise NotImplementedError when unknown model is passed 2020-05-21 19:41:57 +02:00
bastiaan 019adcba56 Uploads are already 'lazily' executed 2020-05-21 19:41:57 +02:00
bastiaan 8c4ec83993 Use lambda for dependencies
so they won't be created when dependency is already provided
2020-05-21 19:41:57 +02:00
bastiaan 29fb109b6f Helper function to improve code 2020-05-21 19:41:57 +02:00
bastiaan 8e6a36212d Use SimpleTestCase for unit tests 2020-05-21 17:42:41 +02:00
bastiaan 61c178d222 Clean temporary files by default 2020-05-21 17:42:41 +02:00
bastiaan 40490d6086 Better upload handling in temporary dirs 2020-05-21 17:42:41 +02:00
bastiaan e1aff0c7a1 Test get_short_name_of_transcoding_type() 2020-05-21 17:42:41 +02:00
bastiaan 63ce1078e4 test models.get_quality_by_name() 2020-05-21 17:42:41 +02:00
bastiaan 2cbd8bf49d Added unit module 2020-05-21 17:42:41 +02:00
bastiaan 1141f6d4a6 CreateTranscodingTestCase
test constraints on model
2020-05-21 17:42:41 +02:00
bastiaan 8ace8d3312 test_video_uploads_shows_correctly 2020-05-21 17:42:41 +02:00
bastiaan f8a3151672 Better video tag test 2020-05-21 17:42:41 +02:00
bastiaan 9b732c55d7 test_video_show_correct_default_quality quality selectors 2020-05-21 17:42:41 +02:00
bastiaan a58618c920 test_video_shows_correct_quality_for_parameter 2020-05-21 17:42:41 +02:00
bastiaan 046dc94c77 test_video_show_correct_default_quality 2020-05-21 17:42:41 +02:00
bastiaan 56c7e24969 Usefull basic view test for video 2020-05-21 17:42:41 +02:00
bastiaan b54ef76881 Stub video page view test 2020-05-21 17:42:41 +02:00
bastiaan 9492e8445b Stub index view test 2020-05-21 17:42:41 +02:00
bastiaan de2d58356b Do not generate uneccessary objects 2020-05-21 17:42:41 +02:00
bastiaan 146df2d3b1 test_can_overwrite_kwargs 2020-05-21 17:42:37 +02:00
bastiaan eb90bca467 Atempt to create model factories 2020-05-21 17:42:24 +02:00
bastiaan 5c89842b92 Some basic model tests 2020-05-21 17:42:17 +02:00
bastiaan 8f3acfef9b Test stub 2020-05-21 17:42:04 +02:00