Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /InferiaAI_InferiaLLM /src /tests /common /conftest.py
| """Shared test fixtures for common module tests.""" | |
| import pytest | |
| from unittest.mock import AsyncMock, MagicMock | |
| def mock_http_client(): | |
| """Mock InternalHttpClient returning controlled responses.""" | |
| client = AsyncMock() | |
| response = MagicMock() | |
| response.status_code = 200 | |
| response.json.return_value = {} | |
| response.text = "" | |
| client.get.return_value = response | |
| client.post.return_value = response | |
| client.put.return_value = response | |
| client.delete.return_value = response | |
| return client | |
Xet Storage Details
- Size:
- 542 Bytes
- Xet hash:
- f1afd501ab865f1506535e7ca7470661109498aa1ed7a5566c3975c8b5838b26
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.