Skip to content

Commit

Permalink
Make tests work on Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtemple authored and DylanBaker committed Mar 15, 2022
1 parent 32ef930 commit 74767d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ def test_config_file_explores_folders_processed_correctly(
}
with patch("sys.argv", ["spectacles", "sql", "--config-file", "config.yml"]):
main()
assert mock_run_sql.call_args.kwargs["filters"] == [

assert mock_run_sql.call_args[1]["filters"] == [
"model_a/*",
"-model_a/explore_b",
]
Expand All @@ -206,7 +207,7 @@ def test_cli_explores_folders_processed_correctly(mock_run_sql, clean_env):
],
):
main()
assert mock_run_sql.call_args.kwargs["filters"] == [
assert mock_run_sql.call_args[1]["filters"] == [
"model_a/*",
"-model_a/explore_b",
]
Expand Down

0 comments on commit 74767d5

Please sign in to comment.