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

PulpQE / pulp-smash / 296 / 2
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2016 07:09PM 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

26 Feb 2016 07:00PM UTC coverage: 72.494%. Remained the same
296.2

push

travis-ci

Ichimonji10
Refactor RPM API tests for removing units

Refactor module `pulp_smash.tests.rpm.api_v2.test_remove_unit`:

* Change the encoding declaration at the top of the file. Do this
  because the existing encoding declaration is invalid. From PEP 263
  [1]: "the first or second line must match the regular expression
  "coding[:=]\s*([-\w.]+)"
* Perform significant reformatting. As a side effect, remove many
  `pylint:disable` directives from the module.
* Encapsulate some common tasks as private functions. At least one of
  these, `_sync_repo`, can be moved into module
  `pulp_smash.tests.rpm.api_v2.utils` and re-used.
* Use function from module `pulp_smash.tests.rpm.api_v2.utils`.
* Fix broken and incorrect docstring segments.
* Flatten the `cls.responses` variable, in an attempt to make it easier
  to think about.

In addition, tweak the documentation stub for this module.

These changes do not affect test suite results.

[1] https://www.python.org/dev/peps/pep-0263/

282 of 389 relevant lines covered (72.49%)

0.72 hits per line

Source Files on job 296.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 296
  • Travis Job 296.2
  • 524aa536 on github
  • Prev Job for on master (#295.2)
  • Next Job for on master (#299.3)
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