mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
BUGFIX: Assertion Failed: Steps must be unicode
This commit is contained in:
@@ -49,7 +49,7 @@ def check_role(context, pg_name, pg_role, max_promotion_timeout):
|
||||
@step('replication works from {master} to {replica} after {time_limit} seconds')
|
||||
@then('replication works from {master} to {replica} after {time_limit} seconds')
|
||||
def replication_works(context, master, replica, time_limit):
|
||||
context.execute_steps("""
|
||||
context.execute_steps(u"""
|
||||
When I add the table test_{0} to {1}
|
||||
Then table test_{0} is present on {2} after {3} seconds
|
||||
""".format(int(time()), master, replica, time_limit))
|
||||
|
||||
Reference in New Issue
Block a user