diff --git a/edxval/tests/test_views.py b/edxval/tests/test_views.py index 1b37f358..40dcca29 100644 --- a/edxval/tests/test_views.py +++ b/edxval/tests/test_views.py @@ -940,6 +940,16 @@ def setUp(self): 'message': None, 'status_code': status.HTTP_200_OK, }, + { + 'patch_data': {'edx_video_id': 'super-soaker', 'status': 'file_complete'}, + 'message': None, + 'status_code': status.HTTP_200_OK, + }, + { + 'patch_data': {'edx_video_id': 'super-soaker', 'status': 'pipeline_error'}, + 'message': None, + 'status_code': status.HTTP_200_OK, + }, ) @unpack def test_video_status(self, patch_data, message, status_code): diff --git a/edxval/views.py b/edxval/views.py index bf9a42a1..5a2af853 100644 --- a/edxval/views.py +++ b/edxval/views.py @@ -34,6 +34,8 @@ LOGGER = logging.getLogger(__name__) VALID_VIDEO_STATUSES = [ + 'file_complete', + 'pipeline_error', 'transcription_in_progress', 'transcript_ready', 'transcode_active', diff --git a/setup.py b/setup.py index d52c60e4..c015d564 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def load_requirements(*requirements_paths): return list(requirements) -VERSION = '1.2.8' +VERSION = '1.2.9' if sys.argv[-1] == 'tag': print("Tagging the version on github:")