2024-09-30 17:22:49 +01:00
|
|
|
import pytest
|
2024-10-02 00:25:24 +01:00
|
|
|
from aiomql import Config
|
2024-09-30 17:22:49 +01:00
|
|
|
import MetaTrader5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(scope='session', autouse=True)
|
|
|
|
|
def config():
|
|
|
|
|
config = Config(filename='test.json')
|
|
|
|
|
return config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(scope='session', autouse=True)
|
2024-10-02 00:25:24 +01:00
|
|
|
def metatrader5():
|
|
|
|
|
return MetaTrader5
|