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

PulpQE / pulp-smash / 1923 / 3
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 04:14PM UTC
Files 7
Run time 1s
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

09 Nov 2017 04:00PM UTC coverage: 62.456%. Remained the same
1923.3

push

travis-ci

Ichimonji10
<a href="https://github.com/PulpQE/pulp-smash/commit/39241e792">Fix functions for getting RPM names and versions

The just-added `get_rpm_names_versions()` function communicates with
Pulp via its API, and it requires API-specific information, like a
repository&#39;s href. As a result, this function most useful when called
from API tests. It&#39;s not easy to robustly call this function from CLI
tests. Move this function into
`pulp_smash.tests.pulp2.rpm.api_v2.utils`, in order to better indicate
its intended use case. The function also incorrectly sorts version
numbers. The following function calls produce differing results:

    from packaging.version import Version
    sorted([&#39;0.2&#39;, &#39;0.10&#39;])
    sorted([&#39;0.2&#39;, &#39;0.10&#39;], key=Version)

Fix the function so that it correctly sorts version numbers.

Reinstate a CLI equivalent to `get_rpm_names_versions()`. (With slightly
improved version sorting logic.)

This commit fixes errors introduced by
</a><a class="double-link" href="https://github.com/PulpQE/pulp-smash/commit/f05212a56">f05212a56</a>

529 of 847 relevant lines covered (62.46%)

0.62 hits per line

Source Files on job 1923.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1923
  • Travis Job 1923.3
  • 39241e79 on github
  • Prev Job for on master (#1922.1)
  • Next Job for on master (#1925.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