diracx-testing 0.0.1a45__py3-none-any.whl → 0.0.1a46__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
@@ -138,7 +138,6 @@ class UnavailableDependency:
138
138
 
139
139
 
140
140
  class ClientFactory:
141
-
142
141
  def __init__(
143
142
  self,
144
143
  tmp_path_factory,
@@ -171,7 +170,6 @@ class ClientFactory:
171
170
  access_payload: AccessTokenPayload,
172
171
  refresh_payload: RefreshTokenPayload | None,
173
172
  ):
174
-
175
173
  return {"PolicySpecific": "OpenAccessForTest"}, {}
176
174
 
177
175
  enabled_systems = {
@@ -245,13 +243,11 @@ class ClientFactory:
245
243
 
246
244
  @contextlib.contextmanager
247
245
  def configure(self, enabled_dependencies):
248
-
249
246
  assert (
250
247
  self.app.dependency_overrides == {} and self.app.lifetime_functions == []
251
248
  ), "configure cannot be nested"
252
249
 
253
250
  for k, v in self.all_dependency_overrides.items():
254
-
255
251
  class_name = k.__self__.__name__
256
252
 
257
253
  if class_name in enabled_dependencies:
@@ -292,7 +288,6 @@ class ClientFactory:
292
288
  BaseSQLDB.transaction.__func__,
293
289
  BaseOSDB.session.__func__,
294
290
  ):
295
-
296
291
  continue
297
292
 
298
293
  # The first argument of the overridden BaseSQLDB.transaction is the DB object
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diracx-testing
3
- Version: 0.0.1a45
3
+ Version: 0.0.1a46
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -8,8 +8,8 @@ diracx/testing/mock_osdb.py,sha256=2pl9yKV1-e5kzf6meBZnhoc1i0ySAJ8IdnP3r1bOwcI,6
8
8
  diracx/testing/osdb.py,sha256=m6mUBLnGOoQLTCIBie9P2GhmLMybrgzIrlIYfhF1_Ss,3230
9
9
  diracx/testing/routers.py,sha256=UW-TnikMQgcNxF5sUZD5DWoucGiCpP6s8mYmuahDiSc,979
10
10
  diracx/testing/time.py,sha256=ec2b4yn-52ey8ea1oINdknxtQf-CpPRBIiI15Wa1W2Q,4320
11
- diracx/testing/utils.py,sha256=c8NA1RMPemAUfrec8YfphcsKsauWlIJ1vyOL3-uWjuM,23804
11
+ diracx/testing/utils.py,sha256=cO-HgrRNvTCfI0HXkNxIN5U_Y7nJvHPeqG0e2eOgIp4,23799
12
12
  diracx/testing/scripts/collect_demo_coverage.sh,sha256=EyIuP6rA-g542BHTPL2cD4qrBSm-FQ5y1e0c1qhVcEs,4555
13
- diracx_testing-0.0.1a45.dist-info/METADATA,sha256=FHxCST0jbSX2EM6oNwELxd3Fh1YnP3u3LINJC9jM6f4,593
14
- diracx_testing-0.0.1a45.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- diracx_testing-0.0.1a45.dist-info/RECORD,,
13
+ diracx_testing-0.0.1a46.dist-info/METADATA,sha256=ONrNL-pvroeDo0C4iCysgksYz7iHX46lB95o7Q9h91w,593
14
+ diracx_testing-0.0.1a46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ diracx_testing-0.0.1a46.dist-info/RECORD,,