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

ministryofjustice / cla_backend / 15017
82%

Build:
DEFAULT BRANCH: master
Ran 06 Jun 2023 03:29PM UTC
Jobs 1
Files 242
Run time 8s
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

pending completion
15017

push

circle-ci

web-flow
LGA-2443 reasons for contacting reports (#940)

* LGA-2443 add in new methods for reasons for contacting

* LGA-2443 add in ReasonsForContacting View
Can now download reasons for contacting summary tables

* LGA-2443 remove additional reports from change_list.html

* LGA-2443 WIP new ExportTask for multiple csv files

* LGA-2443 ExportTask creates multiple csv files

* LGA-2443 Update zip functionality

* LGA-2443 Changed arguements for move method

* LGA-2443 Corrected arguments for shutil.move

* LGA-2443 refactoring
Rename the form property and argument to referrer rather than top referrer as confusing
Keep the checker get_category_stats class method separate as no tests for this new code
Reset referrer before collating results as otherwise data not synched with csv name
Create csvs in a temporary folder not in main tmp folder

* LGA-2443 refactoring
Change where error is handled and use Zipfile rather than shutil to create zip

* LGA-2443 removed duplicated import statements

* LGA-2443 set default language version for pre-commit to be 2.7

* LGA-2443 use one method for category stats to reduce code duplication

* LGA-2443 temporarily push to staging so can check all works within kubernetes namespace

* LGA-2443 validate report dates
add in check to make sure from date is before end date plus test

* LGA-2443 refactor get_category_stats

* LGA-2443 need top_referrers to be restricted by date range as well as categories

* LGA-2443 use self.date_range from the form
This will get the same start and end dates as for the category stats

* LGA-2443 use full referrer value for check
Was only using the path from the url to check the database but need to use the whole referrer url.
To create the file name for each referrer, some urls have a query string with the category so need to record that as well

* LGA-2443 include hostname in filename

* LGA-2443 Changed the method names for category stats and moved... (continued)

7066 of 8591 relevant lines covered (82.25%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15017.1 06 Jun 2023 03:29PM UTC 242
82.25
Source Files on build 15017
  • Tree
  • List 242
  • Changed 180
  • Source Changed 180
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f156b4da on github
  • Prev Build on master (#14647)
  • Next Build on master (#15107)
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