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
df3423bf
Commit
df3423bf
authored
Feb 04, 2016
by
Jillian Vogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed linting errors in py tests
parent
7c5f10c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
tests/integration/test_interaction.py
+3
-4
tests/integration/test_render.py
+0
-2
No files found.
tests/integration/test_interaction.py
View file @
df3423bf
...
@@ -625,10 +625,10 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest):
...
@@ -625,10 +625,10 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest):
# Center-aligned items are display block
# Center-aligned items are display block
if
align
==
'center'
:
if
align
==
'center'
:
self
.
assertEquals
(
self
.
_get_style
(
zone_item
,
'display'
),
'block'
)
;
self
.
assertEquals
(
self
.
_get_style
(
zone_item
,
'display'
),
'block'
)
# but other aligned items are just inline-block
# but other aligned items are just inline-block
else
:
else
:
self
.
assertEquals
(
self
.
_get_style
(
zone_item
,
'display'
),
'inline-block'
)
;
self
.
assertEquals
(
self
.
_get_style
(
zone_item
,
'display'
),
'inline-block'
)
def
test_no_zone_align
(
self
):
def
test_no_zone_align
(
self
):
"""
"""
...
@@ -714,5 +714,4 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest):
...
@@ -714,5 +714,4 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest):
"""
"""
self
.
_assert_zone_align_item
(
12
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
self
.
_assert_zone_align_item
(
12
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
self
.
_assert_zone_align_item
(
13
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
self
.
_assert_zone_align_item
(
13
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
self
.
_assert_zone_align_item
(
14
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
self
.
_assert_zone_align_item
(
14
,
'Zone Center Align'
,
'center'
,
Keys
.
RETURN
)
tests/integration/test_render.py
View file @
df3423bf
...
@@ -293,5 +293,3 @@ class TestDragAndDropRenderZoneAlign(BaseIntegrationTest):
...
@@ -293,5 +293,3 @@ class TestDragAndDropRenderZoneAlign(BaseIntegrationTest):
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-right .item-wrapper'
,
'textAlign'
,
True
),
'right'
)
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-right .item-wrapper'
,
'textAlign'
,
True
),
'right'
)
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-center .item-wrapper'
,
'textAlign'
),
'center'
)
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-center .item-wrapper'
,
'textAlign'
),
'center'
)
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-center .item-wrapper'
,
'textAlign'
,
True
),
'center'
)
self
.
assertEquals
(
self
.
_get_style
(
'#-zone-center .item-wrapper'
,
'textAlign'
,
True
),
'center'
)
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