(request)
| 35 | |
| 36 | @pytest_asyncio.fixture |
| 37 | async def backtesting_config(request): |
| 38 | config = test_config_module.load_test_config() |
| 39 | config[backtesting_constants.CONFIG_BACKTESTING] = {} |
| 40 | config[backtesting_constants.CONFIG_BACKTESTING][commons_constants.CONFIG_ENABLED_OPTION] = True |
| 41 | if hasattr(request, "param"): |
| 42 | ref_market = request.param |
| 43 | config[commons_constants.CONFIG_TRADING][commons_constants.CONFIG_TRADER_REFERENCE_MARKET] = ref_market |
| 44 | return config |
| 45 | |
| 46 | |
| 47 | @pytest_asyncio.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected