Global reformatting with black.
This commit is contained in:
parent
5ec4fdd787
commit
96bf3af324
1 changed files with 557 additions and 561 deletions
|
|
@ -51,14 +51,13 @@ class TestSQLA:
|
|||
from_jid=None,
|
||||
to_jid=None,
|
||||
filters={"keyword": "test"},
|
||||
profile="test_profile"
|
||||
profile="test_profile",
|
||||
)
|
||||
|
||||
# We check that the SQL query is as expected.
|
||||
executed_stmt = mock_session_instance.execute.call_args[0][0]
|
||||
compiled = executed_stmt.compile(
|
||||
dialect=sqlite.dialect(),
|
||||
compile_kwargs={"literal_binds": True}
|
||||
dialect=sqlite.dialect(), compile_kwargs={"literal_binds": True}
|
||||
)
|
||||
sql = str(compiled)
|
||||
assert "json_each" in sql
|
||||
|
|
|
|||
Loading…
Reference in a new issue