summaryrefslogtreecommitdiffstats
path: root/tests/features
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-02 12:22:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-02 12:22:00 +0000
commit3a44ae7d0d4c7f63d7349c26ba4e800cb9f55974 (patch)
tree7f9ff5ec30175ee816fbbb16333fa0c77cb9d5fd /tests/features
parentAdding upstream version 3.3.1. (diff)
downloadpgcli-3a44ae7d0d4c7f63d7349c26ba4e800cb9f55974.tar.xz
pgcli-3a44ae7d0d4c7f63d7349c26ba4e800cb9f55974.zip
Adding upstream version 3.4.0.upstream/3.4.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/features')
-rw-r--r--tests/features/steps/basic_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/steps/basic_commands.py b/tests/features/steps/basic_commands.py
index 7ca20f0..a7c99ee 100644
--- a/tests/features/steps/basic_commands.py
+++ b/tests/features/steps/basic_commands.py
@@ -97,9 +97,9 @@ def step_see_error_message(context):
@when("we send source command")
def step_send_source_command(context):
context.tmpfile_sql_help = tempfile.NamedTemporaryFile(prefix="pgcli_")
- context.tmpfile_sql_help.write(br"\?")
+ context.tmpfile_sql_help.write(rb"\?")
context.tmpfile_sql_help.flush()
- context.cli.sendline(fr"\i {context.tmpfile_sql_help.name}")
+ context.cli.sendline(rf"\i {context.tmpfile_sql_help.name}")
wrappers.expect_exact(context, context.conf["pager_boundary"] + "\r\n", timeout=5)