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

akvo / akvo-mis / #763
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: feature/273-two-phase-registration
DEFAULT BRANCH: main
Ran 28 Jul 2026 04:20PM UTC
Jobs 1
Files 113
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 Jul 2026 02:11PM UTC coverage: 88.756% (+0.2%) from 88.577%
#763

Pull #281

coveralls-python

zuhdil
[#270] Trim the read-filtering diff

Complexity-only pass; no behaviour changes.

- TenantManager was hand-written delegation of a single queryset method.
  models.Manager.from_queryset does exactly that, so the class collapses
  to one line. The soft-deletes and draft managers keep their explicit
  delegators: their get_queryset carries with_deleted/only_draft state
  that a generated manager would drop.

- The two-tenant fixture was copy-pasted across four isolation test
  modules, differing only in a trailing datapoint or assignment. It
  moves to a TenantIsolationTestCase base that each app extends by
  overriding make_tenant.

- fetchLevels expressed "use the array or an empty one" through two
  separate store writes. A two-argument then collapses both paths into
  one update; the rejection path is kept because it clears the previous
  tenant's levels on a refetch.
Pull Request #281: [#270] Filter every read by tenant

5714 of 6609 branches covered (86.46%)

Branch coverage included in aggregate %.

10862 of 12067 relevant lines covered (90.01%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
50
80.17
0.0% api/v1/v1_forms/views.py
41
91.03
0.03% api/v1/v1_forms/functions.py
37
85.98
0.0% api/v1/v1_data/views.py
20
84.8
0.29% api/v1/v1_users/views.py
16
90.94
3.44% api/v1/v1_profile/views.py
11
78.87
-0.54% utils/draft_model.py
8
95.58
0.0% api/v1/v1_mobile/views.py
7
89.53
0.51% api/v1/v1_users/models.py
7
93.67
0.0% api/v1/v1_visualization/views.py
6
95.26
0.09% api/v1/v1_data/models.py
6
96.2
0.15% api/v1/v1_forms/models.py
5
93.24
0.29% utils/soft_deletes_model.py
3
98.67
0.11% api/v1/v1_profile/models.py
2
96.36
0.14% api/v1/v1_mobile/models.py
1
95.0
-0.74% api/v1/v1_data/management/commands/generate_config.py
1
95.83
0.6% api/v1/v1_jobs/models.py
1
95.02
0.0% utils/custom_generator.py
Jobs
ID Job ID Ran Files Coverage
1 #763.1 28 Jul 2026 04:20PM UTC 113
88.76
Source Files on build #763
  • Tree
  • List 113
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #281
  • PR Base - feature/269-tenant-scoping-db (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc