Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
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
xblock-drag-and-drop-v2
Commits
3419e2e6
Commit
3419e2e6
authored
Dec 17, 2015
by
E. Kolpakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review notes: docstring and more intuitive feedback config
parent
1b8ce00b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
tests/integration/data/test_data.json
+2
-2
tests/integration/data/test_data_other.json
+2
-2
tests/integration/test_interaction.py
+5
-5
No files found.
tests/integration/data/test_data.json
View file @
3419e2e6
...
...
@@ -56,7 +56,7 @@
}
],
"feedback"
:
{
"start"
:
"
Other
Intro Feed"
,
"finish"
:
"
Other
Final Feed"
"start"
:
"
Some
Intro Feed"
,
"finish"
:
"
Some
Final Feed"
}
}
tests/integration/data/test_data_other.json
View file @
3419e2e6
...
...
@@ -56,7 +56,7 @@
}
],
"feedback"
:
{
"start"
:
"
Some
Intro Feed"
,
"finish"
:
"
Some
Final Feed"
"start"
:
"
Other
Intro Feed"
,
"finish"
:
"
Other
Final Feed"
}
}
tests/integration/test_interaction.py
View file @
3419e2e6
...
...
@@ -147,7 +147,7 @@ class InteractionTestBase(object):
class
InteractionTestFixture
(
InteractionTestBase
):
"""
Verifying Drag and Drop XBlock rendering against default data - if default data changes this w
ould probably broke
Verifying Drag and Drop XBlock rendering against default data - if default data changes this w
ill probably break.
"""
PAGE_TITLE
=
'Drag and Drop v2'
PAGE_ID
=
'drag_and_drop_v2'
...
...
@@ -194,8 +194,8 @@ class CustomDataInteractionTest(InteractionTestFixture, BaseIntegrationTest):
all_zones
=
[
'Zone 1'
,
'Zone 2'
]
feedback
=
{
"intro"
:
"
Other
Intro Feed"
,
"final"
:
"
Other
Final Feed"
"intro"
:
"
Some
Intro Feed"
,
"final"
:
"
Some
Final Feed"
}
def
_get_scenario_xml
(
self
):
...
...
@@ -246,8 +246,8 @@ class MultipleBlocksDataInteraction(InteractionTestBase, BaseIntegrationTest):
}
feedback
=
{
'block1'
:
{
"intro"
:
"
Other Intro Feed"
,
"final"
:
"Other
Final Feed"
},
'block2'
:
{
"intro"
:
"
Some Intro Feed"
,
"final"
:
"Some
Final Feed"
},
'block1'
:
{
"intro"
:
"
Some Intro Feed"
,
"final"
:
"Some
Final Feed"
},
'block2'
:
{
"intro"
:
"
Other Intro Feed"
,
"final"
:
"Other
Final Feed"
},
}
def
_get_scenario_xml
(
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