Skip to content

Commit 66cc593

Browse files
committed
Update the Behave-BDD code-gen exporter
1 parent 66b07a9 commit 66cc593

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

seleniumbase/behave/behave_helper.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ def generate_gherkin(srt_actions):
6464
)
6565
elif '"' not in action[1] and '"' in text:
6666
sb_actions.append(
67-
'Into "%s" type \'%s\')' % (action[1], text)
67+
'Into "%s" type \'%s\'' % (action[1], text)
6868
)
6969
elif '"' in action[1] and '"' not in text:
7070
sb_actions.append(
71-
'Into \'%s\' type "%s")' % (action[1], text)
71+
'Into \'%s\' type "%s"' % (action[1], text)
7272
)
7373
elif '"' in action[1] and '"' in text:
7474
sb_actions.append(
75-
"Into '%s' type '%s')" % (action[1], text)
75+
"Into '%s' type '%s'" % (action[1], text)
7676
)
7777
elif action[0] == "e_mfa":
7878
text = action[2].replace("\n", "\\n")
@@ -258,7 +258,7 @@ def generate_gherkin(srt_actions):
258258
sb_actions.append('%s "%s" to downloads' % (method, file_url))
259259
else:
260260
sb_actions.append(
261-
'%s "%s" to "%s")' % (method, file_url, dest)
261+
'%s "%s" to "%s"' % (method, file_url, dest)
262262
)
263263
elif action[0] == "as_at":
264264
if ('"' not in action[1][0]) and action[1][2]:

0 commit comments

Comments
 (0)