fix: Fixes for the unit tests

This commit is contained in:
Tasnim Kabir Sadik
2026-05-02 00:28:51 +06:00
parent 027d062bfe
commit abd1fd0f68
7 changed files with 28 additions and 561 deletions

View File

@ -23,7 +23,7 @@ def _make_capsule(cap_id: str = "cl-abc") -> Capsule:
respx.post(f"{BASE}/v1/capsules").respond(
201, json={"id": cap_id, "status": "running"}
)
return Capsule(api_key="wrn_test1234567890abcdef12345678")
return Capsule(api_key="wrn_test1234567890abcdef12345678", base_url=BASE)
class TestFilesRead: