diracx-testing 0.0.1a42__py3-none-any.whl → 0.0.1a43__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 +3 -3
- {diracx_testing-0.0.1a42.dist-info → diracx_testing-0.0.1a43.dist-info}/METADATA +2 -1
- {diracx_testing-0.0.1a42.dist-info → diracx_testing-0.0.1a43.dist-info}/RECORD +5 -5
- {diracx_testing-0.0.1a42.dist-info → diracx_testing-0.0.1a43.dist-info}/WHEEL +0 -0
- {diracx_testing-0.0.1a42.dist-info → diracx_testing-0.0.1a43.dist-info}/top_level.txt +0 -0
diracx/testing/utils.py
CHANGED
@@ -16,10 +16,10 @@ from html.parser import HTMLParser
|
|
16
16
|
from pathlib import Path
|
17
17
|
from typing import TYPE_CHECKING, Generator
|
18
18
|
from urllib.parse import parse_qs, urljoin, urlparse
|
19
|
-
from uuid import uuid4
|
20
19
|
|
21
20
|
import httpx
|
22
21
|
import pytest
|
22
|
+
from uuid_utils import uuid7
|
23
23
|
|
24
24
|
from diracx.core.models import AccessTokenPayload, RefreshTokenPayload
|
25
25
|
|
@@ -371,7 +371,7 @@ class ClientFactory:
|
|
371
371
|
+ timedelta(self.test_auth_settings.access_token_expire_minutes),
|
372
372
|
"iss": ISSUER,
|
373
373
|
"dirac_properties": [NORMAL_USER],
|
374
|
-
"jti": str(
|
374
|
+
"jti": str(uuid7()),
|
375
375
|
"preferred_username": "preferred_username",
|
376
376
|
"dirac_group": "test_group",
|
377
377
|
"vo": "lhcb",
|
@@ -392,7 +392,7 @@ class ClientFactory:
|
|
392
392
|
"sub": "testingVO:yellow-sub",
|
393
393
|
"iss": ISSUER,
|
394
394
|
"dirac_properties": [JOB_ADMINISTRATOR],
|
395
|
-
"jti": str(
|
395
|
+
"jti": str(uuid7()),
|
396
396
|
"preferred_username": "preferred_username",
|
397
397
|
"dirac_group": "test_group",
|
398
398
|
"vo": "lhcb",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: diracx-testing
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.1a43
|
4
4
|
Summary: TODO
|
5
5
|
License: GPL-3.0-only
|
6
6
|
Classifier: Intended Audience :: Science/Research
|
@@ -15,5 +15,6 @@ Requires-Dist: pytest-asyncio
|
|
15
15
|
Requires-Dist: pytest-cov
|
16
16
|
Requires-Dist: pytest-xdist
|
17
17
|
Requires-Dist: httpx
|
18
|
+
Requires-Dist: uuid-utils
|
18
19
|
Provides-Extra: testing
|
19
20
|
Requires-Dist: diracx-testing; extra == "testing"
|
@@ -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=
|
9
|
-
diracx_testing-0.0.
|
10
|
-
diracx_testing-0.0.
|
11
|
-
diracx_testing-0.0.
|
12
|
-
diracx_testing-0.0.
|
8
|
+
diracx/testing/utils.py,sha256=MnFUgRWfpU9GFOvP5d-LQS0uo1grHy_-iNOGLS7XlNk,24483
|
9
|
+
diracx_testing-0.0.1a43.dist-info/METADATA,sha256=4UiegQpc2BUW4l9GLXFpshvsbTWVOpTNbs4njc6cJDA,660
|
10
|
+
diracx_testing-0.0.1a43.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
11
|
+
diracx_testing-0.0.1a43.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
|
12
|
+
diracx_testing-0.0.1a43.dist-info/RECORD,,
|
File without changes
|
File without changes
|