Skip to content

Commit fc96130

Browse files
committed
fmt
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
1 parent 15d1e24 commit fc96130

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

oidc-controller/api/core/tests/test_core_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import pytest
22
from api.core.config import strtobool
33

4+
45
def test_strtobool():
56
# Test valid truthy values
67
truthy_values = ["y", "yes", "t", "true", "on", "1", True]
@@ -14,4 +15,4 @@ def test_strtobool():
1415

1516
# Test invalid input
1617
with pytest.raises(ValueError, match="invalid truth value invalid"):
17-
strtobool("invalid")
18+
strtobool("invalid")

oidc-controller/api/verificationConfigs/tests/test_vc_crud.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ async def test_ver_config_patch_proof_request(db_client: Callable[[], MongoClien
120120
document["proof_request"]["requested_attributes"][0]["names"][0] == "first_name"
121121
)
122122

123+
123124
@pytest.mark.asyncio
124125
async def test_generate_proof_request():
125126
# Create a sample VerificationConfig object
@@ -177,4 +178,4 @@ async def test_generate_proof_request():
177178
assert pred["p_type"] == ">="
178179
assert len(pred["restrictions"]) == 2
179180
assert pred["restrictions"][0]["schema_id"] == "schema_2"
180-
assert pred["restrictions"][1]["issuer_did"] == "issuer_1"
181+
assert pred["restrictions"][1]["issuer_did"] == "issuer_1"

0 commit comments

Comments
 (0)