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

kobotoolbox / kpi / 23690498197
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Mar 2026 05:35PM UTC
Jobs 10
Files 887
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

28 Mar 2026 05:30PM UTC coverage: 81.745%. Remained the same
23690498197

push

github

web-flow
test(hooks): fix SSRF IP mock in hook log tests DEV-1728 (#6890)

### 💭 Notes

4 tests in `HookLogStatusTransitionsTestCase` were failing in
environments without external DNS (e.g. CI) because
`SSRFProtect.validate()` tried to resolve `example.com` before reaching
the mocked `requests.post`. The fix follows the pattern already used in
`test_api_hook.py`: mock `SSRFProtect._get_ip_address` to return
`ip_address('1.2.3.4')`.

The tests were introduced in #6725 and extended in #6744 without this
mock, so they only passed locally where `example.com` resolves.

7437 of 11551 branches covered (64.38%)

28552 of 34928 relevant lines covered (81.75%)

5.81 hits per line

Coverage Regressions

Lines Coverage ∆ File
76
62.15
-26.39% kpi/views/v2/data.py
52
59.72
-24.64% kpi/utils/xml.py
26
63.16
-27.37% kpi/views/v2/asset_permission_assignment.py
25
70.54
-7.08% kpi/views/v2/asset.py
16
39.42
-15.38% kpi/views/v2/paired_data.py
12
66.04
-22.64% kpi/views/v2/export_task.py
12
51.06
-25.53% kpi/views/v2/import_task.py
11
55.56
-8.15% kpi/views/v2/asset_snapshot.py
10
30.12
-12.05% kpi/utils/storage.py
6
75.86
-20.69% kpi/views/v2/tag.py
4
75.12
-1.95% kpi/utils/mongo_helper.py
2
75.0
-16.67% kpi/views/v2/open_rosa.py
2
88.24
-11.76% kpi/views/v2/service_usage.py
1
75.0
-6.25% kpi/utils/drf_exceptions.py
1
86.67
-0.95% kpi/utils/object_permission.py
Jobs
ID Job ID Ran Files Coverage
1 23690498197.1 28 Mar 2026 05:35PM UTC 883
53.23
2 23690498197.2 28 Mar 2026 05:35PM UTC 883
54.71
3 23690498197.3 28 Mar 2026 05:35PM UTC 885
54.49
4 23690498197.4 28 Mar 2026 05:36PM UTC 885
56.0
5 23690498197.5 28 Mar 2026 05:36PM UTC 883
53.56
6 23690498197.6 28 Mar 2026 05:37PM UTC 883
60.47
7 23690498197.7 28 Mar 2026 05:37PM UTC 885
65.39
8 23690498197.8 28 Mar 2026 05:37PM UTC 885
54.95
9 23690498197.9 28 Mar 2026 05:38PM UTC 885
61.64
10 23690498197.10 28 Mar 2026 05:38PM UTC 887
67.69
Source Files on build 23690498197
  • Tree
  • List 887
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 11066be5 on github
  • Prev Build on release/2.026.07 (#23617314814)
  • Next Build on release/2.026.07 (#23901566613)
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