Fixturize fee MagicMock object in tests
This commit is contained in:
@@ -99,6 +99,11 @@ def update():
|
||||
return _update
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def fee():
|
||||
return MagicMock(return_value=0.0025)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def ticker():
|
||||
return MagicMock(return_value={
|
||||
|
Reference in New Issue
Block a user