diracx-testing 0.0.1a39__py3-none-any.whl → 0.0.1a41__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
diracx/testing/utils.py CHANGED
@@ -219,6 +219,12 @@ class ClientFactory:
219
219
  for e in select_from_extension(group="diracx.access_policies")
220
220
  }
221
221
 
222
+ config_source = ConfigSource.create_from_url(
223
+ backend_url=f"git+file://{with_config_repo}"
224
+ )
225
+ # Warm the cache to avoid 503 errors
226
+ config_source.read_config()
227
+
222
228
  self.app = create_app_inner(
223
229
  enabled_systems=enabled_systems,
224
230
  all_service_settings=[
@@ -228,9 +234,7 @@ class ClientFactory:
228
234
  ],
229
235
  database_urls=database_urls,
230
236
  os_database_conn_kwargs=os_database_conn_kwargs,
231
- config_source=ConfigSource.create_from_url(
232
- backend_url=f"git+file://{with_config_repo}"
233
- ),
237
+ config_source=config_source,
234
238
  all_access_policies=all_access_policies,
235
239
  )
236
240
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diracx-testing
3
- Version: 0.0.1a39
3
+ Version: 0.0.1a41
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -5,8 +5,8 @@ diracx/testing/entrypoints.py,sha256=ql7byyUOnUBdDoiN5xznlUTQSbD1YCNy4UF5t9MBhgc
5
5
  diracx/testing/mock_osdb.py,sha256=2pl9yKV1-e5kzf6meBZnhoc1i0ySAJ8IdnP3r1bOwcI,6033
6
6
  diracx/testing/osdb.py,sha256=m6mUBLnGOoQLTCIBie9P2GhmLMybrgzIrlIYfhF1_Ss,3230
7
7
  diracx/testing/routers.py,sha256=UW-TnikMQgcNxF5sUZD5DWoucGiCpP6s8mYmuahDiSc,979
8
- diracx/testing/utils.py,sha256=Ah5ChSvaz_k7n9Drtn9sc9gh0VVXSzh8ctcNWaVovmU,24365
9
- diracx_testing-0.0.1a39.dist-info/METADATA,sha256=c1bRIBpsaHAJ-_OJFeQacI5cDJKrPoLXONHqIVB9mms,634
10
- diracx_testing-0.0.1a39.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
- diracx_testing-0.0.1a39.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
12
- diracx_testing-0.0.1a39.dist-info/RECORD,,
8
+ diracx/testing/utils.py,sha256=smjFeGWeIr5tvb2koMj9tsCxtN3nt8zrR9tvsUpSXak,24477
9
+ diracx_testing-0.0.1a41.dist-info/METADATA,sha256=I755d4h6D90OBlegHbnt9Z4jCuXWd6YLzUHL2nwjtb8,634
10
+ diracx_testing-0.0.1a41.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
+ diracx_testing-0.0.1a41.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
12
+ diracx_testing-0.0.1a41.dist-info/RECORD,,