fixed tests except for one
This commit is contained in:
@@ -95,8 +95,7 @@ def simple_backtest(config, contour, num_results, mocker) -> None:
|
||||
'stake_amount': config['stake_amount'],
|
||||
'processed': processed,
|
||||
'max_open_trades': 1,
|
||||
'realistic': True,
|
||||
'trailing_stop' : False
|
||||
'realistic': True
|
||||
}
|
||||
)
|
||||
|
||||
|
@@ -33,7 +33,8 @@ def test_load_strategy_custom_directory(result):
|
||||
if os.name == 'nt':
|
||||
with pytest.raises(
|
||||
FileNotFoundError,
|
||||
match="FileNotFoundError: [WinError 3] The system cannot find the path specified: '{}'".format(extra_dir)):
|
||||
match="FileNotFoundError: [WinError 3] The system cannot find the "
|
||||
"path specified: '{}'".format(extra_dir)):
|
||||
resolver._load_strategy('TestStrategy', extra_dir)
|
||||
else:
|
||||
with pytest.raises(
|
||||
|
@@ -444,6 +444,8 @@ def test_migrate_new(default_conf, fee):
|
||||
close_profit FLOAT,
|
||||
stake_amount FLOAT NOT NULL,
|
||||
amount FLOAT,
|
||||
initial_stop_loss FLOAT,
|
||||
max_rate FLOAT,
|
||||
open_date DATETIME NOT NULL,
|
||||
close_date DATETIME,
|
||||
open_order_id VARCHAR,
|
||||
|
Reference in New Issue
Block a user