Tests should also use CandleType

This commit is contained in:
Matthias
2021-12-03 14:27:04 +01:00
parent 2f17fa2765
commit d30aaaeaaa
3 changed files with 7 additions and 7 deletions

View File

@@ -16,5 +16,5 @@ class CandleType(str, Enum):
def from_string(cls, value: str) -> 'CandleType':
if not value:
# Default to spot
return CandleType.SPOT
return CandleType.SPOT_
return CandleType(value)