Adding upstream version 6.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
527597d2af
commit
71430b22d0
61 changed files with 1844 additions and 1555 deletions
|
@ -5,9 +5,7 @@ FIXTURES_DIR = os.path.join(FILE_DIR, "fixtures")
|
|||
|
||||
|
||||
def _filter_comments(s):
|
||||
return "\n".join(
|
||||
[line for line in s.splitlines() if line and not line.startswith("--")]
|
||||
)
|
||||
return "\n".join([line for line in s.splitlines() if line and not line.startswith("--")])
|
||||
|
||||
|
||||
def _extract_meta(sql):
|
||||
|
@ -23,9 +21,7 @@ def _extract_meta(sql):
|
|||
|
||||
|
||||
def assert_logger_contains(message, logger, level="error"):
|
||||
output = "\n".join(
|
||||
str(args[0][0]) for args in getattr(logger, level).call_args_list
|
||||
)
|
||||
output = "\n".join(str(args[0][0]) for args in getattr(logger, level).call_args_list)
|
||||
assert message in output
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue