We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f933374 commit 43daefbCopy full SHA for 43daefb
1 file changed
tests/unit/services/test_b2b_service.py
@@ -169,13 +169,6 @@ def test_b2b_service_initializes_services_correctly(
169
if hasattr(service, "buygoods_service"):
170
assert service.buygoods_service.http_client is mock_http_client
171
assert service.buygoods_service.token_manager is mock_token_manager
172
- @pytest.fixture
173
- def mock_async_http_client():
174
- """Mock async HttpClient to simulate async HTTP requests."""
175
- client = MagicMock(spec=HttpClient)
176
- client.post = AsyncMock()
177
- return client
178
-
179
180
@pytest.fixture
181
def async_b2b_service(mock_async_http_client, mock_async_token_manager):
0 commit comments