Commit 190b5a02 by Jillian Vogel Committed by Jonathan Piacenti

Fixed linting errors in py tests

parent 34f25052
...@@ -631,10 +631,10 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest): ...@@ -631,10 +631,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):
""" """
...@@ -720,5 +720,4 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest): ...@@ -720,5 +720,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)
...@@ -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')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment