diff --git a/freqtrade/plugins/pairlist/MarketCapPairList.py b/freqtrade/plugins/pairlist/MarketCapPairList.py index 37c8c3c8b..8bd425c32 100644 --- a/freqtrade/plugins/pairlist/MarketCapPairList.py +++ b/freqtrade/plugins/pairlist/MarketCapPairList.py @@ -53,7 +53,7 @@ class MarketCapPairList(IPairList): for category in self._categories: if category not in category_ids: raise OperationalException( - f"category {category} not in coingecko category list. " + f"Category {category} not in coingecko category list. " f"You can choose from {category_ids}" ) diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index aa1872cd1..6c58acd68 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -2455,7 +2455,7 @@ def test_MarketCapPairList_exceptions(mocker, default_conf_usdt): } ] with pytest.raises( - OperationalException, match="category layer250 not in coingecko category list." + OperationalException, match="Category layer250 not in coingecko category list." ): PairListManager(exchange, default_conf_usdt)