Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3919b4a4
Commit
3919b4a4
authored
10 years ago
by
Muhammad Ammar
Browse files
Options
Downloads
Patches
Plain Diff
Unique Course Fix
parent
b6f933a1
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/test/acceptance/tests/helpers.py
+5
-2
5 additions, 2 deletions
common/test/acceptance/tests/helpers.py
common/test/acceptance/tests/test_studio_general.py
+1
-1
1 addition, 1 deletion
common/test/acceptance/tests/test_studio_general.py
with
6 additions
and
3 deletions
common/test/acceptance/tests/helpers.py
+
5
−
2
View file @
3919b4a4
...
...
@@ -27,6 +27,11 @@ class UniqueCourseTest(WebAppTest):
"""
Create a unique course ID.
"""
super
(
UniqueCourseTest
,
self
).
__init__
(
*
args
,
**
kwargs
)
def
setUp
(
self
):
super
(
UniqueCourseTest
,
self
).
setUp
()
self
.
course_info
=
{
'
org
'
:
'
test_org
'
,
'
number
'
:
self
.
unique_id
,
...
...
@@ -34,8 +39,6 @@ class UniqueCourseTest(WebAppTest):
'
display_name
'
:
'
Test Course
'
+
self
.
unique_id
}
super
(
UniqueCourseTest
,
self
).
__init__
(
*
args
,
**
kwargs
)
@property
def
course_id
(
self
):
return
self
.
COURSE_ID_SEPARATOR
.
join
([
...
...
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/test_studio_general.py
+
1
−
1
View file @
3919b4a4
...
...
@@ -75,7 +75,7 @@ class CoursePagesTest(UniqueCourseTest):
"""
Install a course with no content using a fixture.
"""
super
(
Unique
CourseTest
,
self
).
setUp
()
super
(
Course
Pages
Test
,
self
).
setUp
()
CourseFixture
(
self
.
course_info
[
'
org
'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment