Commit df3423bf by Jillian Vogel

Fixed linting errors in py tests

parent 7c5f10c0
......@@ -625,10 +625,10 @@ class ZoneAlignInteractionTest(InteractionTestBase, BaseIntegrationTest):
# Center-aligned items are display block
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
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):
"""
......@@ -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(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):
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', 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