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

release-engineering / kobo / 212
48%
master: 51%

Build:
Build:
LAST BUILD BRANCH: kobo-0.20.2
DEFAULT BRANCH: master
Ran 01 Apr 2020 10:40AM UTC
Jobs 1
Files 109
Run time 10s
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
212

push

travis-ci

querti
Fix Django testscases

Many tests were failing because Django database transaction doesn't
get flushed after a test failure (even marked with xfail). This prevents
the setup of the next test to be conducted properly because to-be-created
data are already present in the database. The root cause is unknown
(perhaps a bug that was fixed in later versions of Django?). It was
fixed by changing the inherited testing class from 'django.test.TestCase'
to 'django.test.TransactionTestCase'. They should be functionally identical,
they only differ in how the Database cleanup gets performed. Additionally,
a '_fixture_teardown()' method was added to the test class's setUp method
to ensure that the database has been flushed before the next test.

2929 of 6050 relevant lines covered (48.41%)

0.48 hits per line

Jobs
ID Job ID Ran Files Coverage
6 212.6 (TOXENV=py37-cov-travis) 01 Apr 2020 10:40AM UTC 0
48.41
Travis Job 212.6
Source Files on build 212
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #212
  • bb397eca on github
  • Next Build on fix_migrations (#214)
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