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

chaoss / grimoirelab-sortinghat / 233 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2018 11:23PM UTC
Files 44
Run time 1s
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

19 Jan 2018 11:20PM UTC coverage: 91.28% (+0.005%) from 91.275%
233.2

Pull #100

travis-ci

web-flow
[model][tests] Define an order for domains and adapt tests to MariaDB

In models.py, add an order for domains, so that they are
ordered with respect to organizations.

Adapt testing to these changes.

In addition, adapt to testing using MariaDB as backend.
MariaDB has some peculiarities when using it from SQLAlchemy.
These changes address them. Most of the changes are for the
tests themselves, except for the one to database.py, which
includes a new exception which is raised by MariaDB.
Now, all the tests pass with MariaDB.

This caused some pain for tests with MySQL, because some
stuff was ordered differently now. So, in this patch there
are some minot tweaks to the tests to ensure the order
in some cases is the same for both database (and, at the
same time, to avoid randomness). Now, all tests pass
with MySQL too.

In the process, a bug in utils.merge_date_ranges() was
uncovered, and fixed.
Pull Request #100: [tests] Adapt to testing using MariaDB as backend

3203 of 3509 relevant lines covered (91.28%)

0.91 hits per line

Source Files on job 233.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 233
  • Travis Job 233.2
  • 0b76bcb1 on github
  • Prev Job for on master (#232.2)
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