Skip to content

Commit

Permalink
test: Add assertions that confirm that versioned SQL files exist afte…
Browse files Browse the repository at this point in the history
…r running `version` command
  • Loading branch information
nicholasyager committed Sep 23, 2023
1 parent 4f9874f commit 84942fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/test_version_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,7 @@ def test_version_no_model_yaml(project):
["--debug", "version", "--select", "shared_model", "--project-path", proj_path],
)

print(result.stdout)
assert result.exit_code == 0

assert (proj_path / "models" / "shared_model_v1.sql").exists()
assert (proj_path / "models" / "shared_model_v2.sql").exists()

0 comments on commit 84942fc

Please sign in to comment.