Skip to content

Commit 0a2cff2

Browse files
committed
Fix: Wrong name given to the variable
1 parent 1524a3e commit 0a2cff2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/unit/test_price.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ async def test_get_program_price_valid():
1111
Test that the get_program_price method returns the correct PriceResponse
1212
when given a valid item hash.
1313
"""
14-
expected = PriceResponse(
15-
required_tokens=3.0555555555555556e-06,
16-
payment_type="superfluid",
17-
)
18-
mock_session = make_mock_get_session(expected.dict())
14+
expected_response = {
15+
"required_tokens": 3.0555555555555556e-06,
16+
"payment_type": "superfluid",
17+
}
18+
mock_session = make_mock_get_session(expected_response)
1919
async with mock_session:
2020
response = await mock_session.get_program_price("cacacacacacaca")
2121
assert response == PriceResponse(**expected_response) # type: ignore

0 commit comments

Comments
 (0)