Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pczajka committed Mar 4, 2024
1 parent aa3f2ab commit b1d001e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/git/test_git_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ def test_copy(mock_connector, runner, mock_ctx):
local_path = Path("local/path")
result = runner.invoke(["git", "copy", "@repo_name/branches/main", str(local_path)])

# paths in generated SQL should end with '/'
assert result.exit_code == 0, result.output
assert (
ctx.get_query()
== f"get @repo_name/branches/main file://{local_path.resolve()}/ parallel=4"
== f"get @repo_name/branches/main/ file://{local_path.resolve()}/ parallel=4"
)

ctx = mock_ctx()
Expand Down

0 comments on commit b1d001e

Please sign in to comment.