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

inventree / inventree-python / 7503529403
81%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2024 02:35PM UTC
Jobs 1
Files 16
Run time 2s
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

12 Jan 2024 02:32PM UTC coverage: 86.089% (-0.3%) from 86.367%
7503529403

push

github

web-flow
Add functions to easily download template files, create new labels/reports, and update settings (#212)

* Add functions to easily download template files, create new labels/reports, and update settings

* Handle closing of files after upload

* Clarify if statement

* Add tests for creating and downloading report/label templates

* Extend test to use save method, other methods of specifying template file. Fix template file location

* Correct the order of arguments in isinstance

* Compare contents of file, not names..

* Handle open files better

* Put file comparison in function for easier maintenance

* Make sure to close files also in create method

* Rename variable for clarity

* Change name of argument

* Skip tests for ReportBuild method (due to https://github.com/inventree/InvenTree/issues/6213)

* That didn't work as expected...

* Replace with assertIsInstance method

* Again, not working

1083 of 1258 relevant lines covered (86.09%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7503529403.1 12 Jan 2024 02:35PM UTC 16
86.09
Source Files on build 7503529403
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c18cc321 on github
  • Prev Build on master (#7166943922)
  • Next Build on master (#7705124815)
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

© 2025 Coveralls, Inc