mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
test: fix test
This commit is contained in:
parent
30cce8c26b
commit
b9e2af04e5
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ async def test_construct_request_headers_project_id_from_env(monkeypatch):
|
||||||
# Set up test environment variable
|
# Set up test environment variable
|
||||||
test_project_id = "test-project-123"
|
test_project_id = "test-project-123"
|
||||||
monkeypatch.setenv("GCS_PUBSUB_PROJECT_ID", test_project_id)
|
monkeypatch.setenv("GCS_PUBSUB_PROJECT_ID", test_project_id)
|
||||||
|
monkeypatch.setattr(
|
||||||
|
"litellm.proxy.proxy_server.premium_user",
|
||||||
|
True,
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Create handler with no project_id
|
# Create handler with no project_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue