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

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

Build:
Build:
LAST BUILD BRANCH: feature/273-two-phase-registration
DEFAULT BRANCH: main
Ran 28 Jul 2026 11:03AM UTC
Jobs 1
Files 111
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 10:54AM UTC coverage: 88.577% (+0.02%) from 88.559%
#761

Pull #279

coveralls-python

zuhdil
[#269] Trim the tenant scoping diff

Complexity-only pass over #279; no behaviour changes.

- The six tenant FKs were the same seven-line declaration copied out
  across three apps. They share a `tenant_fk()` helper now. The field it
  builds is identical, so `makemigrations --check` still detects nothing.

- The superuser root lookup built its fallback around an empty result
  rather than a missing tenant, so a tenanted user whose root was absent
  would run a second query for someone else's root. That row cannot be
  missing — registration creates it in the same transaction — so the
  branch keys off `tenant_id` directly and only ever runs one query.

- Dropped the backfill test asserting that a filtered update leaves
  non-matching rows alone, which tests Django rather than this code.
  Dropped the level assertion from the seeded-database registration
  test, since a 200 already means the level was created.
Pull Request #279: [#269] Record tenant ownership on the definition-root tables

5705 of 6609 branches covered (86.32%)

Branch coverage included in aggregate %.

10788 of 12011 relevant lines covered (89.82%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
28
84.51
-0.02% api/v1/v1_users/views.py
7
89.02
0.42% api/v1/v1_users/models.py
6
96.05
0.05% api/v1/v1_forms/models.py
4
92.42
0.42% api/v1/v1_profile/management/commands/administration_seeder.py
3
98.56
-0.94% api/v1/v1_profile/models.py
1
85.55
0.09% api/v1/v1_users/serializers.py
Jobs
ID Job ID Ran Files Coverage
1 #761.1 28 Jul 2026 11:03AM UTC 111
88.58
Source Files on build #761
  • Tree
  • List 111
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #279
  • PR Base - epic/multi-tenant-saas (#)
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