@@ -24,7 +24,7 @@ def test_pull_without_api_key(cli_runner: CliRunner, no_humanloop_api_key_in_env
2424 THEN it should fail with appropriate error message
2525 """
2626 # WHEN running pull command
27- result = cli_runner .invoke (cli , ["pull" , "--base-dir " , "humanloop" ])
27+ result = cli_runner .invoke (cli , ["pull" , "--local-files-directory " , "humanloop" ])
2828
2929 # THEN it should fail with appropriate error message
3030 assert result .exit_code == 1 # Our custom error code for API key issues
@@ -41,7 +41,7 @@ def test_pull_basic(
4141 base_dir = str (tmp_path / "humanloop" )
4242
4343 # WHEN running pull command
44- result = cli_runner .invoke (cli , ["pull" , "--base-dir " , base_dir , "--verbose" ])
44+ result = cli_runner .invoke (cli , ["pull" , "--local-files-directory " , base_dir , "--verbose" ])
4545
4646 # THEN it should succeed
4747 assert result .exit_code == 0
@@ -77,9 +77,7 @@ def test_pull_with_specific_path(
7777 ] # Retrieve the prefix of the first file's path which corresponds to the sdk_test_dir used within syncable_files_fixture
7878
7979 # WHEN running pull command with path
80- result = cli_runner .invoke (
81- cli , ["pull" , "--base-dir" , base_dir , "--path" , test_path , "--verbose" , "--base-url" , "http://localhost:80/v5" ]
82- )
80+ result = cli_runner .invoke (cli , ["pull" , "--local-files-directory" , base_dir , "--path" , test_path , "--verbose" ])
8381
8482 # THEN it should succeed and show the path
8583 assert result .exit_code == 0
@@ -109,13 +107,11 @@ def test_pull_with_environment(
109107 cli ,
110108 [
111109 "pull" ,
112- "--base-dir " ,
110+ "--local-files-directory " ,
113111 base_dir ,
114112 "--environment" ,
115113 environment ,
116114 "--verbose" ,
117- "--base-url" ,
118- "http://localhost:80/v5" ,
119115 ],
120116 )
121117
@@ -133,7 +129,7 @@ def test_pull_with_quiet_mode(
133129 base_dir = str (tmp_path / "humanloop" )
134130
135131 # WHEN running pull command with quiet mode
136- result = cli_runner .invoke (cli , ["pull" , "--base-dir " , base_dir , "--quiet" ])
132+ result = cli_runner .invoke (cli , ["pull" , "--local-files-directory " , base_dir , "--quiet" ])
137133
138134 # THEN it should succeed but not show file list
139135 assert result .exit_code == 0
@@ -170,7 +166,7 @@ def test_pull_with_invalid_environment(cli_runner: CliRunner, tmp_path: Path):
170166 cli ,
171167 [
172168 "pull" ,
173- "--base-dir " ,
169+ "--local-files-directory " ,
174170 base_dir ,
175171 "--environment" ,
176172 environment ,
0 commit comments