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
ba034d32
Commit
ba034d32
authored
Jul 13, 2016
by
Ehtesham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quality fixes
parent
2aafff35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
common/lib/capa/capa/tests/test_input_templates.py
+10
-9
No files found.
common/lib/capa/capa/tests/test_input_templates.py
View file @
ba034d32
...
@@ -122,15 +122,16 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
...
@@ -122,15 +122,16 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
def
setUp
(
self
):
def
setUp
(
self
):
choices
=
[(
'1'
,
'choice 1'
),
(
'2'
,
'choice 2'
),
(
'3'
,
'choice 3'
)]
choices
=
[(
'1'
,
'choice 1'
),
(
'2'
,
'choice 2'
),
(
'3'
,
'choice 3'
)]
self
.
context
=
{
'id'
:
'1'
,
self
.
context
=
{
'choices'
:
choices
,
'id'
:
'1'
,
'status'
:
Status
(
'correct'
),
'choices'
:
choices
,
'label'
:
'test'
,
'status'
:
Status
(
'correct'
),
'input_type'
:
'checkbox'
,
'label'
:
'test'
,
'name_array_suffix'
:
'1'
,
'input_type'
:
'checkbox'
,
'value'
:
'3'
,
'name_array_suffix'
:
'1'
,
'response_data'
:
{
'label'
:
'test'
}
'value'
:
'3'
,
}
'response_data'
:
{
'label'
:
'test'
}
}
super
(
ChoiceGroupTemplateTest
,
self
)
.
setUp
()
super
(
ChoiceGroupTemplateTest
,
self
)
.
setUp
()
def
test_problem_marked_correct
(
self
):
def
test_problem_marked_correct
(
self
):
...
...
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