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

ministryofjustice / cla_backend / 23068
82%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2024 09:40AM UTC
Jobs 1
Files 259
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

17 Jan 2024 09:30AM UTC coverage: 82.429% (-0.1%) from 82.555%
23068

push

circleci

davidread
LEP-483 Fix exception for missing income-tax

Looks like we forgot to test for the attribute existing before access it.

What keys are present in CaseData depends on what gets stored by the API client,
and there are are no controls - so we have to cope with any not being present..

test_missing_income_tax reproduces the exception seen:

    PropertyExpectedException
    Deductions requires attribute income_tax and was not given at __init__
    cla_backend/libs/eligibility_calculator/cfe_civil/employment.py:10

test_missing_national_insurance reproduces a similar one for national insurance.

7839 of 9510 relevant lines covered (82.43%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23068.1 17 Jan 2024 09:40AM UTC 0
82.43
CircleCI Job
Source Files on build 23068
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #23068
  • 9bc74e10 on github
  • Prev Build on master (#23022)
  • Next Build on master (#23086)
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