Tests for RunMode

This commit is contained in:
Matthias
2018-12-25 14:35:48 +01:00
parent 1340b71633
commit f034235af4
4 changed files with 20 additions and 3 deletions

View File

@@ -72,4 +72,4 @@ class DataProvider(object):
Get runmode of the bot
can be "live", "dry-run", "backtest", "edgecli", "hyperopt".
"""
return self._config.get('runmode')
return RunMode(self._config.get('runmode', RunMode.OTHER))