Skip to content

Commit

Permalink
Python: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
surister committed Jul 1, 2024
1 parent 07a858a commit 9657411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cratedb_sqlparse_py/tests/test_enricher.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_table_with_properties():
query = "CREATE TABLE tbl (A TEXT) WITH ('key' = 'val', 'key2' = 2, 'key3' = true)"

stmt = sqlparse(query)[0]
expected = {'key': 'val', 'key2': '2', 'key3': 'true'}
expected = {"key": "val", "key2": "2", "key3": "true"}

assert stmt.metadata.with_properties == expected

Expand All @@ -63,7 +63,7 @@ def test_with_with_parameterized_properties():
query = "CREATE TABLE tbl (A TEXT) WITH ('key' = $1, 'key2' = '$2')"

stmt = sqlparse(query)[0]
expected = {'key': '$1', 'key2': '$2'}
expected = {"key": "$1", "key2": "$2"}

# Has all the keys.
assert stmt.metadata.with_properties == expected
Expand Down

0 comments on commit 9657411

Please sign in to comment.