@@ -98,14 +98,16 @@ def __init__(self):
98
98
99
99
# Same Field, different selectors
100
100
self .removed_container_by_xpath = Field (
101
- 'xpath' , '//div[@id="removed_container"]' )
101
+ 'xpath' , '//div[@id="removed_container"]' ,
102
+ )
102
103
self .removed_container_by_css = Field ('css' , '#removed_container' )
103
104
104
105
# Will be hidden after 10 seconds
105
106
self .to_hide_container_by_id = Field ('id' , 'to_hide_container' )
106
107
self .to_hide_container_by_xpath = Field (
107
108
'xpath' ,
108
- '//div[@id="to_hide_container"]' )
109
+ '//div[@id="to_hide_container"]' ,
110
+ )
109
111
self .to_hide_container_by_css = Field ('css' , '#to_hide_container' )
110
112
111
113
self .area_with_root = Area (
@@ -119,22 +121,30 @@ def __init__(self):
119
121
)
120
122
121
123
self .many_input_area = Area (
122
- first_name = Input ('id' , 'test_input_first_name' ,
123
- workflows = ['workflow_test' ]),
124
+ first_name = Input (
125
+ 'id' ,
126
+ 'test_input_first_name' ,
127
+ workflows = ['workflow_test' ],
128
+ ),
124
129
last_name = Input ('id' , 'test_input_last_name' ),
125
130
email = Input ('id' , 'test_input_email' ),
126
131
age = Input ('id' , 'test_input_age' ),
127
- submit = Button ('id' , 'test_many_input_submit' ,
128
- workflows = ['workflow_test' ]),
132
+ submit = Button (
133
+ 'id' ,
134
+ 'test_many_input_submit' ,
135
+ workflows = ['workflow_test' ],
136
+ ),
129
137
)
130
138
self .many_input_result = Text ('id' , 'many_input_result' )
131
139
132
140
self .checkbox = Checkbox ('id' , 'test_checkbox' )
133
141
self .checkbox_checked = Checkbox (
134
- 'id' , 'test_checkbox_checked' , default_checked = True )
142
+ 'id' , 'test_checkbox_checked' , default_checked = True ,
143
+ )
135
144
136
145
# Field for something on the page we know isn't unique.
137
146
self .purposefully_non_unique_field = Field (
138
- 'css' , '.test_repeating_area_root' )
147
+ 'css' , '.test_repeating_area_root' ,
148
+ )
139
149
140
150
self .money_field = Money ('id' , 'moneyMoney' )
0 commit comments