Skip to content

Commit c10345a

Browse files
committed
Update comments in the example test
1 parent 03a3ccd commit c10345a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/my_first_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ def test_basic(self):
99
self.click('a[rel="license"]') # Click element on page
1010
self.assert_text('free to copy', 'div center') # Assert text on page
1111
self.open("http://xkcd.com/1481/")
12-
title = self.get_attribute("#comic img", "title") # Grab an attribute
12+
title = self.get_attribute("#comic img", "title") # Get an attribute
1313
self.assertTrue("86,400 seconds per day" in title)
14-
self.click('link=Blag') # Click link containing the text
14+
self.click('link=Blag') # Click on link
1515
self.assert_text('The blag of the webcomic', 'h2')
16-
self.update_text('input#s', 'Robots!\n') # Fill in field with the text
16+
self.update_text('input#s', 'Robots!\n') # Type text
1717
self.assert_text('Hooray robots!', '#content')
1818
self.open('http://xkcd.com/1319/')
1919
self.assert_text('Automation', 'div#ctitle')

0 commit comments

Comments
 (0)