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
0fc50095
Commit
0fc50095
authored
Feb 05, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix combined open ended tests
parent
8877ec35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/xmodule/xmodule/combined_open_ended_modulev1.py
+1
-1
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
+2
-2
No files found.
common/lib/xmodule/xmodule/combined_open_ended_modulev1.py
View file @
0fc50095
...
...
@@ -137,7 +137,7 @@ class CombinedOpenEndedV1Module():
self
.
metadata
=
metadata
self
.
display_name
=
metadata
.
get
(
'display_name'
,
"Open Ended"
)
self
.
rewrite_content_links
=
static_data
[
'rewrite_content_links'
]
self
.
rewrite_content_links
=
static_data
.
get
(
'rewrite_content_links'
,
""
)
# Load instance state
...
...
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
View file @
0fc50095
...
...
@@ -4,7 +4,7 @@ import unittest
from
xmodule.openendedchild
import
OpenEndedChild
from
xmodule.open_ended_module
import
OpenEndedModule
from
xmodule.combined_open_ended_module
import
CombinedOpenEnded
Module
from
xmodule.combined_open_ended_module
v1
import
CombinedOpenEndedV1
Module
from
xmodule.modulestore
import
Location
from
lxml
import
etree
...
...
@@ -314,7 +314,7 @@ class CombinedOpenEndedModuleTest(unittest.TestCase):
descriptor
=
Mock
()
def
setUp
(
self
):
self
.
combinedoe
=
CombinedOpenEndedModule
(
test_system
,
self
.
location
,
self
.
definition
,
self
.
descriptor
,
self
.
static_data
,
metadata
=
self
.
metadata
)
self
.
combinedoe
=
CombinedOpenEnded
V1
Module
(
test_system
,
self
.
location
,
self
.
definition
,
self
.
descriptor
,
self
.
static_data
,
metadata
=
self
.
metadata
)
def
test_get_tag_name
(
self
):
name
=
self
.
combinedoe
.
get_tag_name
(
"<t>Tag</t>"
)
...
...
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