Skip to content

Commit

Permalink
Fixed the test.
Browse files Browse the repository at this point in the history
r8417
  • Loading branch information
hugs committed Feb 23, 2010
1 parent 5a08a6a commit b377fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/test/py/api_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def testGetImplicitAttribute(self):
elems = self.driver.find_elements_by_xpath("//option")
self.assert_(len(elems) >= 3)
for i, elem in enumerate(elems[:3]):
self.assertEquals(str(i), elem.get_attribute("index"))
self.assertEquals(i, elem.get_attribute("index"))

def testExecuteSimpleScript(self):
self._loadPage("xhtmlTest")
Expand Down

0 comments on commit b377fa0

Please sign in to comment.