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',
'LastChecked': '2017-11-13T20:15:00.00', 'active': True,
'Notice': None 'LastChecked': '2017-11-13T20:15:00.00',
}, { 'Notice': None
'Currency': 'ETH', },
'IsActive': True, "TRST/BTC": {
'LastChecked': '2017-11-13T20:15:00.00', 'base': 'TRST',
'Notice': None 'active': True,
}, { 'LastChecked': '2017-11-13T20:15:00.00',
'Currency': 'TRST', 'Notice': None
'IsActive': True, },
'LastChecked': '2017-11-13T20:15:00.00', "SWT/BTC": {
'Notice': None 'base': 'SWT',
}, { 'active': True,
'Currency': 'SWT', 'LastChecked': '2017-11-13T20:15:00.00',
'IsActive': True, 'Notice': None
'LastChecked': '2017-11-13T20:15:00.00', },
'Notice': None "BCC/BTC": {
}, { 'base': 'BCC',
'Currency': 'BCC', 'active': False,
'IsActive': False, 'LastChecked': '2017-11-13T20:15:00.00',
'LastChecked': '2017-11-13T20:15:00.00', 'Notice': None
'Notice': None }})
}])
@pytest.fixture @pytest.fixture