Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-val
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-val
Commits
b95f6a07
Commit
b95f6a07
authored
May 11, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address feedback
parent
42428504
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
edxval/tests/test_api.py
+3
-3
setup.py
+1
-1
No files found.
edxval/tests/test_api.py
View file @
b95f6a07
...
...
@@ -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
)
...
...
setup.py
View file @
b95f6a07
...
...
@@ -39,7 +39,7 @@ def load_requirements(*requirements_paths):
setup
(
name
=
'edxval'
,
version
=
'0.0.1
4x
'
,
version
=
'0.0.1
5
'
,
author
=
'edX'
,
url
=
'http://github.com/edx/edx-val'
,
description
=
'edx-val'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment