fix: apply persisted provider overrides on startup

This commit is contained in:
3252a8
2026-05-18 21:40:45 +03:00
parent fcd494f815
commit d870915dc0
6 changed files with 27 additions and 7 deletions
+2 -2
View File
@@ -340,7 +340,7 @@ class WebAppAssetTests(unittest.IsolatedAsyncioTestCase):
current_provider_configs,
)
build_provider_configs()
build_provider_configs(force=True)
configs = current_provider_configs()
for service_key in ("cryptopay_service", "yookassa_service"):
bundle = configs.get(service_key)
@@ -377,7 +377,7 @@ class WebAppAssetTests(unittest.IsolatedAsyncioTestCase):
get_spec_presentation,
)
build_provider_configs()
build_provider_configs(force=True)
bundle = get_provider_bundle("yookassa_service")
if bundle and bundle.config is not None:
bundle.config.ENABLED = True