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

PulpQE / pulp-smash / 346 / 4
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2016 09:58PM 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

18 Mar 2016 08:58PM UTC coverage: 71.939% (-0.5%) from 72.423%
346.4

push

travis-ci

Ichimonji10
Further refactor OSTree API tests

* Add documentation stubs.
* Rename function `setUpModule` to `skip_if_no_plugin`. (This function is
  designed to be called from `setUpModule` functions in `test_*`
  modules, but does not need to obey the camelCase unittest naming
  conventions.)
* Change how unit tests are distributed. Ensure that all test cases do
  check that a call report has an HTTP 202 status code (thus improving
  test coverage and increasing the number of tests). Move checks
  regarding the contents of successfully completed tasks from test cases
  to response handlers (thus improving test coverage and decreasing the
  number of tests).
* Make function `create_sync_repo` use the `pulp_smash.api.safe_handler`
  response handler to verify completed tasks. This improves test
  coverage for completed tasks, but limits this function to being usable
  in cases where a repository sync succeeds. Therefore, also create a
  private `_sync_repo` function which does not verify the contents of
  tasks.
* In package `pulp_smash.tests.ostree`, rename module `ostree_utils` to
  `utils`. This allows for a more precise namespace hierarchy and more
  concise imports in some cases. In cases where the import produces a
  name conflict, importing the module `as ostree_utils` is recommended.

Test results are OK after this commit. 18 tests execute before, and 17
after. Test results generated with:

    python -m unittest2 discover pulp_smash.tests.ostree.api_v2

Test coverage is increased despite the drop in number of test cases. See
notes above, or actual source code if needed.

282 of 392 relevant lines covered (71.94%)

0.72 hits per line

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