mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Increase test coverage on strategy.py
This commit is contained in:
parent
25ab08f422
commit
fd9c62d1c4
|
@ -16,6 +16,7 @@ def test_sanitize_module_name():
|
||||||
|
|
||||||
def test_search_strategy():
|
def test_search_strategy():
|
||||||
assert Strategy._search_strategy('default_strategy') == '.'
|
assert Strategy._search_strategy('default_strategy') == '.'
|
||||||
|
assert Strategy._search_strategy('test_strategy') == 'user_data.strategies.'
|
||||||
assert Strategy._search_strategy('super_duper') is None
|
assert Strategy._search_strategy('super_duper') is None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user