piker/tests/conftest.py

23 lines
356 B
Python
Raw Normal View History

2018-11-12 02:05:44 +00:00
import pytest
@pytest.fixture
def brokerconf():
from piker.brokers import config
return config.load()[0]
2018-11-12 02:05:44 +00:00
@pytest.fixture
def us_symbols():
return ['TSLA', 'AAPL', 'CGC', 'CRON']
@pytest.fixture
def tmx_symbols():
return ['APHA.TO', 'WEED.TO', 'ACB.TO']
@pytest.fixture
def cse_symbols():
return ['TRUL.CN', 'CWEB.CN', 'SNN.CN']