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

PulpQE / pulp-smash / 543
63%

Build:
DEFAULT BRANCH: master
Ran 12 May 2016 06:25PM UTC
Jobs 4
Files 6
Run time 39s
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
543

push

travis-ci

Ichimonji10
Refactor API search tests

Each of the test cases in module
`pulp_smash.tests.platform.api_v2.test_search` needs one or more users
to be present. However, none of the test cases touch the users in any
way. Thus, it's wasteful to create new users in each test case. Create
and destroy users in `setUpModule` and `tearDownModule` functions,
respectively, and let the test cases use those users.

Tests executed with:

    git clean -dfx && time python -m unittest2 \
        pulp_smash.tests.platform.api_v2.test_search

This change does not affect test results. This change does make the
tests execute more quickly. On a F23 test system, execution time dropped
from 40s to 27s. On a RHEL7 test system, execution time dropped from 39s
to 25s.

357 of 508 relevant lines covered (70.28%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 543.1 12 May 2016 06:25PM UTC 0
70.28
Travis Job 543.1
2 543.2 12 May 2016 06:25PM UTC 0
70.28
Travis Job 543.2
3 543.3 12 May 2016 06:26PM UTC 0
70.28
Travis Job 543.3
4 543.4 12 May 2016 06:25PM UTC 0
70.28
Travis Job 543.4
Source Files on build 543
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #543
  • ee52b88c on github
  • Prev Build on master (#537)
  • Next Build on master (#545)
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