You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@given(u'I log in as a superuser')
def step_log_in_as_a_superuser(context):
context.execute_steps("""
given the following superusers exist
| email | password |
| admin@foo.bar | pass |
when I submit the following data
| name | value |
| username | admin@foo.bar |
| password | pass |
then I see the word "Welcome"
""")
I get the following error:
Assertion Failed: Steps must be unicode.
Making the argument to execute_step a unicode string does the trick (context.execute_steps(u"""foo""")).
The docs don't make this clear in the example provided.
The text was updated successfully, but these errors were encountered:
When I try to run the following step:
I get the following error:
Making the argument to
execute_step
a unicode string does the trick (context.execute_steps(u"""foo""")
).The docs don't make this clear in the example provided.
The text was updated successfully, but these errors were encountered: