mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Add timeout to some tests
This commit is contained in:
parent
79ffa66656
commit
0993d12955
|
@ -15,6 +15,7 @@ pytest-asyncio==0.23.7
|
||||||
pytest-cov==5.0.0
|
pytest-cov==5.0.0
|
||||||
pytest-mock==3.14.0
|
pytest-mock==3.14.0
|
||||||
pytest-random-order==1.1.1
|
pytest-random-order==1.1.1
|
||||||
|
pytest-timeout==2.3.1
|
||||||
pytest-xdist==3.6.1
|
pytest-xdist==3.6.1
|
||||||
isort==5.13.2
|
isort==5.13.2
|
||||||
# For datetime mocking
|
# For datetime mocking
|
||||||
|
|
|
@ -19,6 +19,7 @@ from tests.exchange_online.conftest import EXCHANGE_WS_FIXTURE_TYPE
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.longrun
|
@pytest.mark.longrun
|
||||||
|
@pytest.mark.timeout(3 * 60)
|
||||||
class TestCCXTExchangeWs:
|
class TestCCXTExchangeWs:
|
||||||
def test_ccxt_ohlcv(self, exchange_ws: EXCHANGE_WS_FIXTURE_TYPE, caplog, mocker):
|
def test_ccxt_ohlcv(self, exchange_ws: EXCHANGE_WS_FIXTURE_TYPE, caplog, mocker):
|
||||||
exch, exchangename, pair = exchange_ws
|
exch, exchangename, pair = exchange_ws
|
||||||
|
|
Loading…
Reference in New Issue
Block a user