Skip to content

Commit

Permalink
fix flake8 errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Dec 23, 2024
1 parent bca24a9 commit 75f92c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/parsers/cql2_text/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def test_attribute_eq_true_uppercase():
True,
)


def test_attribute_eq_true_lowercase():
result = parse("attr = true")
assert result == ast.Equal(
Expand Down
2 changes: 2 additions & 0 deletions tests/parsers/ecql/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ def test_namespace_attribute_eq_literal():
"A",
)


def test_prefixed_attribute_eq_literal():
result = parse("properties.ns:attr = 'A'")
assert result == ast.Equal(
ast.Attribute("properties.ns:attr"),
"A",
)


def test_attribute_eq_literal():
result = parse("attr = 'A'")
assert result == ast.Equal(
Expand Down

0 comments on commit 75f92c4

Please sign in to comment.