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

« back to all changes in this revision

Viewing changes to src/sst/selftests/data_driven_form.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:
5
5
assert('textfield1' in dir())
6
6
assert('password1' in dir())
7
7
assert('list_field' in dir())
8
 
assert(len(list_field) > 1)
9
 
assert((list_field[0] == 1) or (list_field[0] == 'a'))
10
 
assert isinstance(should_pass, bool)
 
8
assert(len(list_field) > 1)  # NOQA
 
9
assert((list_field[0] == 1) or (list_field[0] == 'a'))  # NOQA
 
10
assert isinstance(should_pass, bool)  # NOQA
11
11
 
12
12
sst.actions.go_to('/')
13
13
sst.actions.assert_title('The Page Title')
14
14
 
15
15
# fields come from the associated csv data file
16
16
sst.actions.write_textfield(
17
 
    sst.actions.get_element(name='textfield1'), textfield1)
 
17
    sst.actions.get_element(name='textfield1'), textfield1)  # NOQA
18
18
sst.actions.write_textfield(
19
 
    sst.actions.get_element(name='password1'), password1)
 
19
    sst.actions.get_element(name='password1'), password1)  # NOQA
20
20
 
21
21
sst.actions.click_button(
22
22
    sst.actions.get_element(tag='input', value='Begin'))