Adding upstream version 4.0.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6e38540406
commit
5f14fad9bf
42 changed files with 955 additions and 184 deletions
|
@ -164,10 +164,24 @@ def before_step(context, _):
|
|||
context.atprompt = False
|
||||
|
||||
|
||||
def is_known_problem(scenario):
|
||||
"""TODO: why is this not working in 3.12?"""
|
||||
if sys.version_info >= (3, 12):
|
||||
return scenario.name in (
|
||||
'interrupt current query via "ctrl + c"',
|
||||
"run the cli with --username",
|
||||
"run the cli with --user",
|
||||
"run the cli with --port",
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
def before_scenario(context, scenario):
|
||||
if scenario.name == "list databases":
|
||||
# not using the cli for that
|
||||
return
|
||||
if is_known_problem(scenario):
|
||||
scenario.skip()
|
||||
currentdb = None
|
||||
if "pgbouncer" in scenario.feature.tags:
|
||||
if context.pgbouncer_available:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue