Skip to content

Commit

Permalink
Fix a couple of flake8 issues in the python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Jun 8, 2016
1 parent 6c9e23c commit d6840f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_should_find_elements_by_xpath(self):
self._load_page("nestedElements")
element = self.driver.find_element_by_name("form2")
children = element.find_elements_by_xpath("select/option")
self.assertEqual(len(children), 8);
self.assertEqual(len(children), 8)
self.assertEqual(children[0].text, "One")
self.assertEqual(children[1].text, "Two")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_Should_Be_Able_To_Find_Many_Elements_Repeatedly_By_XPath(self):
xpath = "//node()[contains(@id,'id')]"
self.assertEqual(len(self.driver.find_elements(By.XPATH, xpath)), 3)

xpath= "//node()[contains(@id,'nope')]"
xpath = "//node()[contains(@id,'nope')]"
self.assertEqual(len(self.driver.find_elements(By.XPATH, xpath)), 0)

def test_Should_Be_Able_To_Identify_Elements_By_Class(self):
Expand Down

0 comments on commit d6840f5

Please sign in to comment.