Skip to content

Commit eb1eb76

Browse files
committed
fix: removed unused fixture
1 parent 1991bd4 commit eb1eb76

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

tests/unit/test_credits.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,6 @@ def mock_credit_balance_response():
2323
return mock_response
2424

2525

26-
@pytest.fixture
27-
def mock_credits_list_response():
28-
"""Create a mock response for credits list API call."""
29-
mock_response = AsyncMock()
30-
mock_response.__aenter__.return_value = mock_response
31-
mock_response.status = 200
32-
mock_response.json = AsyncMock(
33-
return_value={
34-
"credit_balances": [
35-
{
36-
"address": "0x1234567890123456789012345678901234567890",
37-
"credits": 1000000000,
38-
},
39-
{
40-
"address": "0x0987654321098765432109876543210987654321",
41-
"credits": 500000000,
42-
},
43-
],
44-
"pagination_page": 1,
45-
"pagination_total": 1,
46-
"pagination_per_page": 100,
47-
}
48-
)
49-
return mock_response
50-
51-
5226
@pytest.fixture
5327
def mock_credit_history_response():
5428
"""Create a mock response for credit history API call."""

0 commit comments

Comments
 (0)