Add test for short_desc of priceFilter

This commit is contained in:
Matthias
2020-07-10 20:21:33 +02:00
parent 14eab9be04
commit 40bdc93653
2 changed files with 33 additions and 3 deletions

View File

@@ -20,9 +20,9 @@ class PriceFilter(IPairList):
self._low_price_ratio = pairlistconfig.get('low_price_ratio', 0)
self._min_price = pairlistconfig.get('min_price', 0)
self._max_price = pairlistconfig.get('max_price', 0)
self._enabled = (self._low_price_ratio != 0) or \
(self._min_price != 0) or \
(self._max_price != 0)
self._enabled = ((self._low_price_ratio != 0) or
(self._min_price != 0) or
(self._max_price != 0))
@property
def needstickers(self) -> bool: