Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
70fff66e
Commit
70fff66e
authored
7 years ago
by
Dillon Dumesnil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Responding to comments
parent
a3a0459d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
openedx/tests/xblock_integration/test_review_xblock.py
+2
-6
No files found.
openedx/tests/xblock_integration/test_review_xblock.py
View file @
70fff66e
...
@@ -116,16 +116,12 @@ class TestReviewXBlock(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
...
@@ -116,16 +116,12 @@ class TestReviewXBlock(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
cls
.
course_actual_url
=
reverse
(
cls
.
course_actual_url
=
reverse
(
'courseware_section'
,
'courseware_section'
,
kwargs
=
{
kwargs
=
{
'course_id'
:
cls
.
course_actual
.
id
.
to_deprecated_string
(
),
'course_id'
:
unicode
(
cls
.
course_actual
.
id
),
'chapter'
:
'Overview'
,
'chapter'
:
'Overview'
,
'section'
:
'Welcome'
,
'section'
:
'Welcome'
,
}
}
)
)
# refresh the course from the modulestore so that it has children
# Not sure if this is actually needed or not
cls
.
course_actual
=
modulestore
()
.
get_course
(
cls
.
course_actual
.
id
)
# Set up for the review course where the review problems are hosted
# Set up for the review course where the review problems are hosted
cls
.
course_review
=
CourseFactory
.
create
(
cls
.
course_review
=
CourseFactory
.
create
(
display_name
=
'Review_Test_Course_REVIEW'
,
display_name
=
'Review_Test_Course_REVIEW'
,
...
@@ -183,7 +179,7 @@ class TestReviewXBlock(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
...
@@ -183,7 +179,7 @@ class TestReviewXBlock(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
cls
.
course_review_url
=
reverse
(
cls
.
course_review_url
=
reverse
(
'courseware_section'
,
'courseware_section'
,
kwargs
=
{
kwargs
=
{
'course_id'
:
cls
.
course_review
.
id
.
to_deprecated_string
(
),
'course_id'
:
unicode
(
cls
.
course_review
.
id
),
'chapter'
:
'Overview'
,
'chapter'
:
'Overview'
,
'section'
:
'Welcome'
,
'section'
:
'Welcome'
,
}
}
...
...
This diff is collapsed.
Click to expand it.
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