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

chaoss / grimoirelab-sortinghat / 233
93%

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

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

3232 of 3509 relevant lines covered (92.11%)

1.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
/home/travis/build/grimoirelab/sortinghat/sortinghat/utils.py
28
100.0
/home/travis/build/grimoirelab/sortinghat/sortinghat/db/model.py
Jobs
ID Job ID Ran Files Coverage
1 233.1 19 Jan 2018 11:24PM UTC 0
91.48
Travis Job 233.1
2 233.2 19 Jan 2018 11:23PM UTC 0
91.28
Travis Job 233.2
Source Files on build 233
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #233
  • Pull Request #100
  • PR Base - master (#232)
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