Skip to content

Commit 43daefb

Browse files
committed
tests (B2B Service): Removed Dead scope fixture
1 parent f933374 commit 43daefb

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/unit/services/test_b2b_service.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,6 @@ def test_b2b_service_initializes_services_correctly(
169169
if hasattr(service, "buygoods_service"):
170170
assert service.buygoods_service.http_client is mock_http_client
171171
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-
179172

180173
@pytest.fixture
181174
def async_b2b_service(mock_async_http_client, mock_async_token_manager):

0 commit comments

Comments
 (0)