மனோஜ்குமார் பழனிச்சாமி
2022-05-04 04:53:23 +05:30
parent 2705096ce6
commit 5cd5074166
3 changed files with 9 additions and 0 deletions

View File

@@ -33,6 +33,12 @@ from tests.conftest_trades_usdt import (mock_trade_usdt_1, mock_trade_usdt_2, mo
logging.getLogger('').setLevel(logging.INFO)
@pytest.fixture(autouse=True)
def run_around_tests():
yield
assert Trade.use_db
# Do not mask numpy errors as warnings that no one read, raise the exсeption
np.seterr(all='raise')