pytest-nhsd-apim 3.3.14__py3-none-any.whl → 3.3.15__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.
Potentially problematic release.
This version of pytest-nhsd-apim might be problematic. Click here for more details.
- pytest_nhsd_apim/apigee_apis.py +2 -2
- {pytest_nhsd_apim-3.3.14.dist-info → pytest_nhsd_apim-3.3.15.dist-info}/METADATA +1 -1
- {pytest_nhsd_apim-3.3.14.dist-info → pytest_nhsd_apim-3.3.15.dist-info}/RECORD +6 -6
- {pytest_nhsd_apim-3.3.14.dist-info → pytest_nhsd_apim-3.3.15.dist-info}/WHEEL +0 -0
- {pytest_nhsd_apim-3.3.14.dist-info → pytest_nhsd_apim-3.3.15.dist-info}/entry_points.txt +0 -0
- {pytest_nhsd_apim-3.3.14.dist-info → pytest_nhsd_apim-3.3.15.dist-info}/top_level.txt +0 -0
pytest_nhsd_apim/apigee_apis.py
CHANGED
|
@@ -39,7 +39,7 @@ class ApigeeProdCredentials(BaseSettings):
|
|
|
39
39
|
apigee_nhsd_prod_passcode: Optional[str] = None
|
|
40
40
|
apigee_access_token: Optional[str] = None
|
|
41
41
|
|
|
42
|
-
@root_validator
|
|
42
|
+
@root_validator
|
|
43
43
|
def check_credentials_config(cls, values):
|
|
44
44
|
print(values)
|
|
45
45
|
"""Checks for the right set of credentials"""
|
|
@@ -60,7 +60,7 @@ class ApigeeProdCredentials(BaseSettings):
|
|
|
60
60
|
):
|
|
61
61
|
values["auth_method"] = "saml"
|
|
62
62
|
return values
|
|
63
|
-
elif values["
|
|
63
|
+
elif values["apigee_access_token"]:
|
|
64
64
|
values["auth_method"] = "access_token"
|
|
65
65
|
return values
|
|
66
66
|
else:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
pytest_nhsd_apim/__init__.py,sha256=CRwQfUDrbXIqvJX6OfTR4jGdhlU9kjGmBAptJasRg7E,72
|
|
2
|
-
pytest_nhsd_apim/apigee_apis.py,sha256=
|
|
2
|
+
pytest_nhsd_apim/apigee_apis.py,sha256=nVarxYSD1TIjCduBQyW8LIODyPk76xpELXD2lhyWLHc,57427
|
|
3
3
|
pytest_nhsd_apim/apigee_edge.py,sha256=sIITiwkyKoNVDJ9OmnxV3mipF6LJR0w2qpmvT5Mwr1M,18777
|
|
4
4
|
pytest_nhsd_apim/auth_journey.py,sha256=UovbLXhokUnikrMOaXIhjV8t5aRrcxinAbS96nfZWcY,5154
|
|
5
5
|
pytest_nhsd_apim/config.py,sha256=ScKfV8iURqDXX2ajgGsRDcVn9RZy2DxLoEU2QQt9lmA,4246
|
|
@@ -9,8 +9,8 @@ pytest_nhsd_apim/nhsd_apim_authorization.py,sha256=TE_6YnoM7kpRReiZP6-Z52rRs9bUu
|
|
|
9
9
|
pytest_nhsd_apim/pytest_nhsd_apim.py,sha256=_snJGTUVsHA70FGrKNNXjx9yNc_UjO1Ffhw0SLQtYUs,5214
|
|
10
10
|
pytest_nhsd_apim/secrets.py,sha256=yIYwOZwpliIomtqSJGIYRbAE2HYvLvQU4W2kOa9TnXo,2354
|
|
11
11
|
pytest_nhsd_apim/token_cache.py,sha256=6L08taTlSyRsx2NCb0LSGsHdWx_wmqwlFtcF7pZMhUg,3540
|
|
12
|
-
pytest_nhsd_apim-3.3.
|
|
13
|
-
pytest_nhsd_apim-3.3.
|
|
14
|
-
pytest_nhsd_apim-3.3.
|
|
15
|
-
pytest_nhsd_apim-3.3.
|
|
16
|
-
pytest_nhsd_apim-3.3.
|
|
12
|
+
pytest_nhsd_apim-3.3.15.dist-info/METADATA,sha256=y8LIwibo_Ulh9ouBI3RFahR7U7k1xIHnd9h7v_DvDI8,4518
|
|
13
|
+
pytest_nhsd_apim-3.3.15.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
14
|
+
pytest_nhsd_apim-3.3.15.dist-info/entry_points.txt,sha256=XWicT3meTpqLXnZcXNoAd2IfXspFPlNgMgLBMy4nqwQ,57
|
|
15
|
+
pytest_nhsd_apim-3.3.15.dist-info/top_level.txt,sha256=ZK5GZP-g_K8gNfm4a58T9JCRb0i1X267ngvNelCGgfQ,17
|
|
16
|
+
pytest_nhsd_apim-3.3.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|