mirror of https://github.com/dbcli/pgcli
Fix tests
This commit is contained in:
parent
2f556df6f8
commit
6f63ae1d0e
|
@ -206,7 +206,7 @@ def step_resppond_to_destructive_command(context, response):
|
|||
"""Respond to destructive command."""
|
||||
wrappers.expect_exact(
|
||||
context,
|
||||
"You're about to run a destructive command.\r\nDo you want to proceed? (y/n):",
|
||||
"You're about to run a destructive command.\r\nDo you want to proceed? [y/N]:",
|
||||
timeout=2,
|
||||
)
|
||||
context.cli.sendline(response.strip())
|
||||
|
|
|
@ -16,7 +16,7 @@ def step_prepare_data(context):
|
|||
context.cli.sendline("drop table if exists a;")
|
||||
wrappers.expect_exact(
|
||||
context,
|
||||
"You're about to run a destructive command.\r\nDo you want to proceed? (y/n):",
|
||||
"You're about to run a destructive command.\r\nDo you want to proceed? [y/N]:",
|
||||
timeout=2,
|
||||
)
|
||||
context.cli.sendline("y")
|
||||
|
|
Loading…
Reference in New Issue