Revert editing health in conftest.py

This commit is contained in:
enenn 2018-04-07 17:05:44 +02:00
parent 21c5282eb1
commit 4f4cb3698e
1 changed files with 25 additions and 26 deletions

View File

@ -128,32 +128,31 @@ def ticker_sell_down():
@pytest.fixture @pytest.fixture
def health(): def health():
return MagicMock(return_value=[{ return MagicMock(return_value={
'Currency': 'BTC', "ETH/BTC": {
'IsActive': True, 'base': 'ETH',
'active': True,
'LastChecked': '2017-11-13T20:15:00.00', 'LastChecked': '2017-11-13T20:15:00.00',
'Notice': None 'Notice': None
}, { },
'Currency': 'ETH', "TRST/BTC": {
'IsActive': True, 'base': 'TRST',
'active': True,
'LastChecked': '2017-11-13T20:15:00.00', 'LastChecked': '2017-11-13T20:15:00.00',
'Notice': None 'Notice': None
}, { },
'Currency': 'TRST', "SWT/BTC": {
'IsActive': True, 'base': 'SWT',
'active': True,
'LastChecked': '2017-11-13T20:15:00.00', 'LastChecked': '2017-11-13T20:15:00.00',
'Notice': None 'Notice': None
}, { },
'Currency': 'SWT', "BCC/BTC": {
'IsActive': True, 'base': 'BCC',
'active': False,
'LastChecked': '2017-11-13T20:15:00.00', 'LastChecked': '2017-11-13T20:15:00.00',
'Notice': None 'Notice': None
}, { }})
'Currency': 'BCC',
'IsActive': False,
'LastChecked': '2017-11-13T20:15:00.00',
'Notice': None
}])
@pytest.fixture @pytest.fixture