From b6f52a16244317c0629ddf52e9dcb3d387dc1c5f Mon Sep 17 00:00:00 2001 From: Zainab Amir Date: Wed, 8 Apr 2020 16:58:20 +0500 Subject: [PATCH] Add tests --- edxval/tests/test_views.py | 10 ++++++++++ setup.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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/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:")