Merge pull request 'fix/parentesis' (#369) from fix/test-doda-y-s3 into development

Reviewed-on: ADUANASOFT/anexo76#369
This commit is contained in:
2026-05-06 21:14:42 +00:00

View File

@@ -55,6 +55,7 @@ def _print_client(db_session: Session, test_tenant) -> TestClient:
"validate_access_to_resource", "validate_access_to_resource",
lambda db, company_id, current_user, required_permissions=None, require_all=True: int( lambda db, company_id, current_user, required_permissions=None, require_all=True: int(
current_user["tenant_id"] current_user["tenant_id"]
),
) )
def test_print_uses_s3_cache_when_fingerprint_matches( def test_print_uses_s3_cache_when_fingerprint_matches(
db_session: Session, test_tenant, monkeypatch: pytest.MonkeyPatch db_session: Session, test_tenant, monkeypatch: pytest.MonkeyPatch
@@ -101,6 +102,7 @@ def test_print_uses_s3_cache_when_fingerprint_matches(
"validate_access_to_resource", "validate_access_to_resource",
lambda db, company_id, current_user, required_permissions=None, require_all=True: int( lambda db, company_id, current_user, required_permissions=None, require_all=True: int(
current_user["tenant_id"] current_user["tenant_id"]
),
) )
def test_print_422_without_digital_seal( def test_print_422_without_digital_seal(
db_session: Session, test_tenant, monkeypatch: pytest.MonkeyPatch db_session: Session, test_tenant, monkeypatch: pytest.MonkeyPatch