chore: improved wording

This commit is contained in:
Matthias 2024-09-28 10:18:59 +02:00
parent 255ad7cac5
commit f4d76aa360
2 changed files with 2 additions and 2 deletions

View File

@ -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}"
)

View File

@ -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)