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

PulpQE / pulp-smash / 1923
63%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 04:12PM UTC
Jobs 3
Files 7
Run time 1min
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
1923

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

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1923.1 09 Nov 2017 04:12PM UTC 0
62.46
Travis Job 1923.1
2 1923.2 09 Nov 2017 04:13PM UTC 0
62.46
Travis Job 1923.2
3 1923.3 09 Nov 2017 04:14PM UTC 0
62.46
Travis Job 1923.3
Source Files on build 1923
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1923
  • 39241e79 on github
  • Prev Build on master (#1922)
  • Next Build on master (#1925)
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

© 2025 Coveralls, Inc