disable the backtesting by default
This commit is contained in:
parent
9f7a72a990
commit
c9dcc1e57c
@ -1,6 +1,7 @@
|
||||
# pragma pylint: disable=missing-docstring
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
import os
|
||||
import json
|
||||
import arrow
|
||||
from pandas import DataFrame
|
||||
@ -27,6 +28,7 @@ class TestMain(unittest.TestCase):
|
||||
"stoploss": -0.10
|
||||
}
|
||||
|
||||
@unittest.skipIf(not os.environ.get('BACKTEST', False), "slow, should be run manually")
|
||||
def test_backtest(self):
|
||||
trades = []
|
||||
with patch.dict('main._CONF', self.conf):
|
||||
|
Loading…
Reference in New Issue
Block a user