Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ fill_wallet
Function
fill_wallet
testing/plugins_integration/bdd_wallet.py:23–24 ·
view source on GitHub ↗
(wallet)
Source
from the content-addressed store, hash-verified
21
22
@given(
"A wallet with 50"
)
23
def
fill_wallet(wallet):
24
wallet.amount = 50
25
26
27
@when(
"I buy some apples for 1"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected