fix line length test_title.py

This commit is contained in:
Trent Palmer 2021-08-21 15:18:09 -07:00
parent f97fe8b9de
commit 00459ca513

View File

@ -10,12 +10,14 @@ class TestTitle(TestSelenium, TestCase):
def test_title(self):
self.assertEqual(len(self.x), 1)
self.assertEqual(self.x[0].get_attribute('id'), 'title')
self.assertEqual(self.x[0].value_of_css_property('text-align'), 'center')
self.assertEqual(
self.x[0].value_of_css_property('text-align'), 'center')
self.assertEqual(self.x[0].value_of_css_property('display'), 'block')
self.assertEqual(self.x[0].value_of_css_property('max-width'), '736px')
self.assertEqual(self.x[0].value_of_css_property('font-size'), '32px')
self.assertEqual(self.x[0].value_of_css_property('font-weight'), '700')
self.assertEqual(self.x[0].value_of_css_property('font-family'), 'sans-serif')
self.assertEqual(
self.x[0].value_of_css_property('font-family'), 'sans-serif')
def test_title_anchor(self):
x_anchors = self.x[0].find_elements_by_tag_name('a')