mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Minor test comment fix
This commit is contained in:
@@ -695,7 +695,7 @@ def test_get_pair_base_currency(default_conf, mocker, pair, expected):
|
|||||||
assert ex.get_pair_base_currency(pair) == expected
|
assert ex.get_pair_base_currency(pair) == expected
|
||||||
|
|
||||||
|
|
||||||
def test_validate_pairs(default_conf, mocker): # test exchange.validate_pairs directly
|
def test_validate_pairs(default_conf, mocker):
|
||||||
api_mock = MagicMock()
|
api_mock = MagicMock()
|
||||||
type(api_mock).load_markets = MagicMock(
|
type(api_mock).load_markets = MagicMock(
|
||||||
return_value={
|
return_value={
|
||||||
@@ -713,6 +713,8 @@ def test_validate_pairs(default_conf, mocker): # test exchange.validate_pairs d
|
|||||||
mocker.patch(f"{EXMS}._load_async_markets")
|
mocker.patch(f"{EXMS}._load_async_markets")
|
||||||
mocker.patch(f"{EXMS}.validate_stakecurrency")
|
mocker.patch(f"{EXMS}.validate_stakecurrency")
|
||||||
mocker.patch(f"{EXMS}.validate_pricing")
|
mocker.patch(f"{EXMS}.validate_pricing")
|
||||||
|
# test exchange.validate_pairs directly
|
||||||
|
# No assert - but this should not fail (!)
|
||||||
Exchange(default_conf)
|
Exchange(default_conf)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user