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

PulpQE / pulp-smash / 543 / 1
63%
master: 63%

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

12 May 2016 01:07PM UTC coverage: 70.276%. Remained the same
543.1

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%)

0.7 hits per line

Source Files on job 543.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 543
  • Travis Job 543.1
  • ee52b88c on github
  • Prev Job for on master (#537.1)
  • Next Job for on master (#545.1)
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