~fs-8/selenium-simple-test/sst-remote-fixes

« back to all changes in this revision

Viewing changes to src/sst/selftests/get_element.py

  • Committer: Tarmac
  • Author(s): Leo Arias
  • Date: 2013-04-23 14:17:04 UTC
  • mfrom: (388.2.1 last_flake)
  • Revision ID: tarmac-20130423141704-s28k5e5yijg05lvo
[r=vila] Fixed the remaining flake8 errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
sst.actions.assert_text(elem, 'link to longscroll page')
41
41
 
42
42
# unique_id + tag + href + text
43
 
elem = sst.actions.get_element(tag='a', id='longscroll_link',
44
 
    href='/longscroll', text='link to longscroll page')
 
43
elem = sst.actions.get_element(
 
44
    tag='a', id='longscroll_link', href='/longscroll',
 
45
    text='link to longscroll page')
45
46
sst.actions.assert_text(elem, 'link to longscroll page')
46
47
 
47
48
# unique_id + href + text
48
 
elem = sst.actions.get_element(id='longscroll_link', href='/longscroll',
49
 
                   text='link to longscroll page')
 
49
elem = sst.actions.get_element(
 
50
    id='longscroll_link', href='/longscroll', text='link to longscroll page')
50
51
sst.actions.assert_text(elem, 'link to longscroll page')
51
52
 
52
53
# href + text