Skip to content

Commit 3337c7d

Browse files
committed
fix cli test for project move local only
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent e248763 commit 3337c7d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test-int/cli/test_routing_integration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ def test_project_sync_config_accepts_local_flag(self, app_config):
249249
result = runner.invoke(cli_app, ["project", "sync-config", "test", "--local"])
250250
assert "No such option: --local" not in result.output
251251

252-
def test_project_move_accepts_local_flag(self, app_config):
252+
def test_project_move_local_only(self, app_config):
253253
"""project move should accept --local flag."""
254-
result = runner.invoke(cli_app, ["project", "move", "test", "/tmp/dest", "--local"])
255-
assert "No such option: --local" not in result.output
254+
result = runner.invoke(cli_app, ["project", "move", "test", "/tmp/dest", "--cloud"])
255+
assert "No such option: --cloud" in result.output
256256

257257
def test_project_ls_accepts_local_flag(self, app_config):
258258
"""project ls should accept --local flag."""

0 commit comments

Comments
 (0)