Skip to content

Commit 6444abd

Browse files
committed
test: fix test
1 parent 045f564 commit 6444abd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/crewai/tests/cli/test_plus_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def test_create_crew(self, mock_make_request):
320320
)
321321

322322
@patch("crewai.cli.plus_api.Settings")
323+
@patch.dict(os.environ, {"CREWAI_PLUS_URL": ""})
323324
def test_custom_base_url(self, mock_settings_class):
324325
mock_settings = MagicMock()
325326
mock_settings.enterprise_base_url = "https://custom-url.com/api"

0 commit comments

Comments
 (0)