Skip to content

Commit

Permalink
Add partial failure status to valid statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-amir authored Apr 21, 2020
1 parent 13815a8 commit 97fb66d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions edxval/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,11 @@ def setUp(self):
'message': None,
'status_code': status.HTTP_200_OK,
},
{
'patch_data': {'edx_video_id': 'super-soaker', 'status': 'partial_failure'},
'message': None,
'status_code': status.HTTP_200_OK,
}
)
@unpack
def test_video_status(self, patch_data, message, status_code):
Expand Down
1 change: 1 addition & 0 deletions edxval/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

VALID_VIDEO_STATUSES = [
'file_complete',
'partial_failure',
'pipeline_error',
'transcription_in_progress',
'transcript_ready',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def load_requirements(*requirements_paths):
return list(requirements)


VERSION = '1.3.1'
VERSION = '1.3.2'

if sys.argv[-1] == 'tag':
print("Tagging the version on github:")
Expand Down

0 comments on commit 97fb66d

Please sign in to comment.