BUGFIX: Assertion Failed: Steps must be unicode

This commit is contained in:
Alexander Kukushkin
2016-03-11 13:47:57 +01:00
parent 30d3982d25
commit 8b81d270bc
+1 -1
View File
@@ -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))