Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
ea2875fb
Commit
ea2875fb
authored
Apr 09, 2015
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor pylint fix
parent
552b5ba0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
problem_builder/tests/integration/test_dashboard.py
+8
-8
No files found.
problem_builder/tests/integration/test_dashboard.py
View file @
ea2875fb
...
@@ -60,19 +60,19 @@ class TestDashboardBlock(SeleniumXBlockTest):
...
@@ -60,19 +60,19 @@ class TestDashboardBlock(SeleniumXBlockTest):
self
.
set_scenario_xml
(
"""
self
.
set_scenario_xml
(
"""
<vertical_demo>
<vertical_demo>
<problem-builder display_name="Step 1">
<problem-builder display_name="Step 1">
<pb-mcq display_name="1.1 First
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="1.1 First
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
</pb-mcq>
</pb-mcq>
<pb-mcq display_name="1.2 Second
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="1.2 Second
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
</pb-mcq>
</pb-mcq>
<pb-mcq display_name="1.3 Third
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="1.3 Third
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
...
@@ -81,18 +81,18 @@ class TestDashboardBlock(SeleniumXBlockTest):
...
@@ -81,18 +81,18 @@ class TestDashboardBlock(SeleniumXBlockTest):
<html_demo> This message here should be ignored. </html_demo>
<html_demo> This message here should be ignored. </html_demo>
</problem-builder>
</problem-builder>
<problem-builder display_name="Step 2">
<problem-builder display_name="Step 2">
<pb-mcq display_name="2.1 First
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="2.1 First
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="5">Option 5</pb-choice>
<pb-choice value="5">Option 5</pb-choice>
<pb-choice value="6">Option 6</pb-choice>
<pb-choice value="6">Option 6</pb-choice>
</pb-mcq>
</pb-mcq>
<pb-mcq display_name="2.2 Second
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="2.2 Second
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
</pb-mcq>
</pb-mcq>
<pb-mcq display_name="2.3 Third
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="2.3 Third
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
...
@@ -100,13 +100,13 @@ class TestDashboardBlock(SeleniumXBlockTest):
...
@@ -100,13 +100,13 @@ class TestDashboardBlock(SeleniumXBlockTest):
</pb-mcq>
</pb-mcq>
</problem-builder>
</problem-builder>
<problem-builder display_name="Step 3">
<problem-builder display_name="Step 3">
<pb-mcq display_name="3.1 First
question
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-mcq display_name="3.1 First
MCQ
" question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="1">Option 1</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="2">Option 2</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="3">Option 3</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
<pb-choice value="4">Option 4</pb-choice>
</pb-mcq>
</pb-mcq>
<pb-mcq display_name="3.2
Question
with non-numeric values"
<pb-mcq display_name="3.2
MCQ
with non-numeric values"
question="Which option?" correct_choices='["1","2","3","4"]'>
question="Which option?" correct_choices='["1","2","3","4"]'>
<pb-choice value="A">Option A</pb-choice>
<pb-choice value="A">Option A</pb-choice>
<pb-choice value="B">Option B</pb-choice>
<pb-choice value="B">Option B</pb-choice>
...
...
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