Skip to content

Commit

Permalink
fix deploy unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-gbloom committed Aug 22, 2024
1 parent 550c3cf commit 552c1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/workspace/test_application_package_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_deploy(mock_sync, mock_execute, project_directory, mock_cursor):

app_pkg, bundle_ctx, mock_console = _get_app_pkg_entity(project_directory)

app_pkg.action_deploy(bundle_ctx)
app_pkg.action_deploy(bundle_ctx, prune=False, recursive=False, paths=["a/b", "c"])

mock_sync.assert_called_once_with(
console=mock_console,
Expand All @@ -133,7 +133,7 @@ def test_deploy(mock_sync, mock_execute, project_directory, mock_cursor):
prune=False,
recursive=False,
stage_fqn="pkg.app_src.stage",
local_paths_to_sync=None,
print_diff=None,
local_paths_to_sync=["a/b", "c"],
print_diff=True,
)
assert mock_execute.mock_calls == expected

0 comments on commit 552c1fe

Please sign in to comment.