Skip to content

Commit

Permalink
test: flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 9, 2022
1 parent c93d4b5 commit bf1e068
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ def test_calculate_coverage_all_one_to_many(db, capsys, tmpdir):


def test_calculate_coverage_all_many_to_many(db, capsys, tmpdir):
field = "ALL awards/items/additionalClassifications/scheme"
sql = calculate_coverage([field], scope="release_summary", sql=False, sql_only=True)
fields = ["ALL awards/items/additionalClassifications/scheme"]
sql = calculate_coverage(fields, scope="release_summary", sql=False, sql_only=True)

assert sql == textwrap.dedent("""\
SELECT
Expand All @@ -433,7 +433,8 @@ def test_calculate_coverage_all_many_to_many(db, capsys, tmpdir):


def test_calculate_coverage_all_mixed(db, capsys, tmpdir):
sql = calculate_coverage(["ALL :items/description", ":items/description"], scope="awards_summary", sql=False, sql_only=True)
fields = ["ALL :items/description", ":items/description"]
sql = calculate_coverage(fields, scope="awards_summary", sql=False, sql_only=True)

assert sql == textwrap.dedent("""\
SELECT
Expand Down

0 comments on commit bf1e068

Please sign in to comment.