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

PulpQE / pulp-smash / 296
63%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2016 07:08PM UTC
Jobs 4
Files 6
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
296

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

2.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 296.1 26 Feb 2016 07:08PM UTC 0
72.49
Travis Job 296.1
2 296.2 26 Feb 2016 07:09PM UTC 0
72.49
Travis Job 296.2
3 296.3 26 Feb 2016 07:09PM UTC 0
72.49
Travis Job 296.3
4 296.4 26 Feb 2016 07:09PM UTC 0
72.49
Travis Job 296.4
Source Files on build 296
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #296
  • 524aa536 on github
  • Prev Build on master (#295)
  • Next Build on master (#299)
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