Commit b95f6a07 by muhammad-ammar

address feedback

parent 42428504
......@@ -810,8 +810,8 @@ class TestCopyCourse(TestCase):
def test_successful_copy(self):
"""Tests a successful copy course"""
destination_course_id = 'course-copy1'
api.copy_course_videos('test-course', destination_course_id)
original_videos = Video.objects.filter(courses__course_id='test-course')
api.copy_course_videos(self.course_id, destination_course_id)
original_videos = Video.objects.filter(courses__course_id=self.course_id)
copied_videos = Video.objects.filter(courses__course_id=destination_course_id)
course_video_with_image = CourseVideo.objects.get(video=self.video1, course_id=destination_course_id)
course_video_without_image = CourseVideo.objects.get(video=self.video2, course_id=destination_course_id)
......@@ -932,7 +932,7 @@ class ExportTest(TestCase):
""".format(image=image))
self.assert_xml_equal(
api.export_to_xml(constants.VIDEO_DICT_FISH["edx_video_id"], course_id),
api.export_to_xml(constants.VIDEO_DICT_FISH['edx_video_id'], course_id),
expected
)
......
......@@ -39,7 +39,7 @@ def load_requirements(*requirements_paths):
setup(
name='edxval',
version='0.0.14x',
version='0.0.15',
author='edX',
url='http://github.com/edx/edx-val',
description='edx-val',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment