Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-amir committed Apr 8, 2020
1 parent a0cd1da commit b6f52a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions edxval/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
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.2.8'
VERSION = '1.2.9'

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

0 comments on commit b6f52a1

Please sign in to comment.