mirror of
https://github.com/Ichinga-Samuel/aiomql.git
synced 2026-08-20 07:18:08 +00:00
refactor symbol and executor
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from aiomql import config
|
||||
|
||||
from . import get_config, get_default_config
|
||||
|
||||
|
||||
def test_default_config_file(get_default_config):
|
||||
conf = config.Config()
|
||||
assert conf.win_percentage == 0.90
|
||||
|
||||
|
||||
def test_config_file_name(get_config):
|
||||
conf = config.Config(filename='config.json')
|
||||
assert conf.win_percentage == 0.8
|
||||
Reference in New Issue
Block a user