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

allegro / ralph / 7584
84%
ng: 85%

Build:
Build:
LAST BUILD BRANCH: doc-fixes
DEFAULT BRANCH: ng
Ran 27 Jan 2017 06:53AM UTC
Jobs 1
Files 222
Run time 17s
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
7584

push

travis-ci

web-flow
Fix different sql queries count in admin views test (#2921)

The problem here was testing all admin views in single unit test. Because of that, depending on order of iterating through models (admins) registry, less or more objects of some type (especially BaseObject) could be created. This leads to following behaviour:

After adding next 10 objects, when count of base objects hits over 100, limit clause was added to the query.

This `LIMIT` clause together with `DESC` ordering leads to omitting some of the objects available in first execution of the query, especially dropping all objects of particular type (subclass of BaseObject, for example CloudHost). This causes running one SQL less between consecutive checks.

11727 of 13891 relevant lines covered (84.42%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
3 7584.3 (DJANGO_VERSION=1.8.17 TEST_DB_ENGINE=psql) 27 Jan 2017 06:53AM UTC 0
84.42
Travis Job 7584.3
Source Files on build 7584
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7584
  • 648de006 on github
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