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
9c780c2f
Commit
9c780c2f
authored
Jan 08, 2016
by
Andrew Gaylard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing tests: add new field display_zone_borders.
parent
2f9185fd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
tests/unit/data/html/config_out.json
+1
-0
tests/unit/data/old/config_out.json
+1
-0
tests/unit/data/plain/config_out.json
+1
-0
tests/unit/test_basics.py
+1
-0
No files found.
tests/unit/data/html/config_out.json
View file @
9c780c2f
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"item_background_color"
:
"white"
,
"item_background_color"
:
"white"
,
"item_text_color"
:
"#000080"
,
"item_text_color"
:
"#000080"
,
"initial_feedback"
:
"HTML <strong>Intro</strong> Feed"
,
"initial_feedback"
:
"HTML <strong>Intro</strong> Feed"
,
"display_zone_borders"
:
false
,
"display_zone_labels"
:
false
,
"display_zone_labels"
:
false
,
"zones"
:
[
"zones"
:
[
...
...
tests/unit/data/old/config_out.json
View file @
9c780c2f
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"item_background_color"
:
null
,
"item_background_color"
:
null
,
"item_text_color"
:
null
,
"item_text_color"
:
null
,
"initial_feedback"
:
"Intro Feed"
,
"initial_feedback"
:
"Intro Feed"
,
"display_zone_borders"
:
false
,
"display_zone_labels"
:
false
,
"display_zone_labels"
:
false
,
"zones"
:
[
"zones"
:
[
...
...
tests/unit/data/plain/config_out.json
View file @
9c780c2f
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"item_background_color"
:
null
,
"item_background_color"
:
null
,
"item_text_color"
:
null
,
"item_text_color"
:
null
,
"initial_feedback"
:
"This is the initial feedback."
,
"initial_feedback"
:
"This is the initial feedback."
,
"display_zone_borders"
:
false
,
"display_zone_labels"
:
false
,
"display_zone_labels"
:
false
,
"zones"
:
[
"zones"
:
[
...
...
tests/unit/test_basics.py
View file @
9c780c2f
...
@@ -28,6 +28,7 @@ class BasicTests(TestCaseMixin, unittest.TestCase):
...
@@ -28,6 +28,7 @@ class BasicTests(TestCaseMixin, unittest.TestCase):
zones
=
config
.
pop
(
"zones"
)
zones
=
config
.
pop
(
"zones"
)
items
=
config
.
pop
(
"items"
)
items
=
config
.
pop
(
"items"
)
self
.
assertEqual
(
config
,
{
self
.
assertEqual
(
config
,
{
"display_zone_borders"
:
False
,
"display_zone_labels"
:
False
,
"display_zone_labels"
:
False
,
"title"
:
"Drag and Drop"
,
"title"
:
"Drag and Drop"
,
"show_title"
:
True
,
"show_title"
:
True
,
...
...
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