Skip to content

Commit 5dd03d9

Browse files
Update lib/crewai/tests/tools/test_supabase_tool.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 82ea7e2 commit 5dd03d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/crewai/tests/tools/test_supabase_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
def test_missing_env_vars():
77
# Temporarily remove env vars
8-
os.environ.pop("SUPABASE_URL", None)
9-
os.environ.pop("SUPABASE_KEY", None)
8+
monkeypatch.delenv("SUPABASE_URL", raising=False)
9+
monkeypatch.delenv("SUPABASE_KEY", raising=False)
1010

1111
with pytest.raises(ValueError):
1212
SupabaseTool()

0 commit comments

Comments
 (0)