• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openwallet-foundation / acapy-vc-authn-oidc / 22600858259
91%

Build:
DEFAULT BRANCH: main
Ran 02 Mar 2026 11:38PM UTC
Jobs 1
Files 39
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Mar 2026 11:37PM UTC coverage: 89.577% (+0.5%) from 89.038%
22600858259

push

github

web-flow
Replace requests with httpx for async HTTP                                                                                                                                                        (#971)

* Refactor AcapyClient to Use httpx and Improve Async Handling

- Replaced `requests` with `httpx` for asynchronous HTTP client capabilities.
- Updated AcapyClient methods to be asynchronous and adjusted their signatures.
- Enhanced error handling for API calls and improved logging.
- Optimized cleanup functions to ensure non-blocking execution.
- Updated unit tests to mock `httpx` responses and configure async behavior.
- Ensured compatibility with new async patterns across the codebase, including startup registration and webhook handling.

Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>

* Add unit tests for ACAPY client methods

This commit introduces comprehensive unit tests for the ACAPY client, focusing on the `delete_connection` and `get_connections_batched` methods.
- The tests for `delete_connection` cover handling of network errors and timeouts.
- The `get_connections_batched` tests address various scenarios including empty results, pagination with single and multiple pages, and error handling for network issues and non-200 responses.

Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>

* Format and drop requests-mock as it is nolonger needed

Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>

* Add configurable HTTP request timeout for ACA-Py

- Introduced `ACAPY_REQUEST_TIMEOUT` setting in `config.py` to allow customization of the HTTP request timeout for ACA-Py requests, defaulting to 10 seconds.
- Updated `main.py` to utilize the new configuration for setting the timeout of the HTTP client.

Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>

* Enhance cleanup functionality to support dry-run mode

- Updated cleanup logic to allow for a dry-run mode, enabling users to see what records wou... (continued)

169 of 179 new or added lines in 9 files covered. (94.41%)

9 existing lines in 2 files now uncovered.

2458 of 2744 relevant lines covered (89.58%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.88
0.13% oidc-controller/api/core/acapy/config.py
2
87.27
-1.41% oidc-controller/api/main.py
3
91.04
7.1% oidc-controller/api/core/acapy/client.py
4
57.07
0.0% oidc-controller/api/routers/oidc.py

Uncovered Existing Lines

Lines Coverage ∆ File
4
91.04
7.1% oidc-controller/api/core/acapy/client.py
5
90.99
-1.08% oidc-controller/api/routers/acapy_handler.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.12 - 22600858259.1 02 Mar 2026 11:38PM UTC 39
89.58
GitHub Action Run
Source Files on build 22600858259
  • Tree
  • List 39
  • Changed 9
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22600858259
  • e7e0cd1a on github
  • Prev Build on main (#22600789476)
  • Next Build on main (#22741628705)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc