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
a57a093e
Commit
a57a093e
authored
Apr 17, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebased to master
parent
841d3484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
common/lib/capa/capa/tests/test_input_templates.py
+4
-5
No files found.
common/lib/capa/capa/tests/test_input_templates.py
View file @
a57a093e
...
...
@@ -98,7 +98,7 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
'input_type'
:
'checkbox'
,
'name_array_suffix'
:
'1'
,
'value'
:
'3'
}
super
(
TestChoiceGroupTemplate
,
self
)
.
setUp
()
super
(
ChoiceGroupTemplateTest
,
self
)
.
setUp
()
def
test_problem_marked_correct
(
self
):
"""Test conditions under which the entire problem
...
...
@@ -298,16 +298,15 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
class
TextlineTemplateTest
(
TemplateTestCase
):
"""Test mako template for `<textline>` input"""
# Allow us to pass an extra arg to setUp to configure
# the test case.
#pylint: disable=W0221
TEMPLATE_NAME
=
'textline.html'
def
setUp
(
self
):
self
.
context
=
{
'id'
:
'1'
,
'status'
:
'correct'
,
'value'
:
'3'
,
'preprocessor'
:
None
,
'trailing_text'
:
None
}
super
(
TextlineTemplateTest
,
self
)
.
setUp
(
'textline.html'
)
super
(
TextlineTemplateTest
,
self
)
.
setUp
()
def
test_section_class
(
self
):
cases
=
[
({},
' capa_inputtype '
),
...
...
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