Skip to content

Commit e623c96

Browse files
committed
fix tos
1 parent 28e2a40 commit e623c96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_tos.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
def mock_client(monkeypatch):
2525
fake_client = mock.Mock()
2626

27+
monkeypatch.setenv("DATABASE_TOS_REGION", "test-region")
28+
monkeypatch.setenv("VOLCENGINE_ACCESS_KEY", "test-access-key")
29+
monkeypatch.setenv("VOLCENGINE_SECRET_KEY", "test-secret-key")
30+
monkeypatch.setenv("DATABASE_TOS_BUCKET", "test-bucket")
31+
2732
monkeypatch.setattr(tos_mod.tos, "TosClientV2", lambda *a, **k: fake_client)
2833

2934
class FakeExceptions:

0 commit comments

Comments
 (0)