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

PulpQE / pulp-smash / 953 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2016 06:28PM 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

19 Aug 2016 04:11PM UTC coverage: 70.543%. Remained the same
953.1

push

travis-ci

Ichimonji10
Refactor just-added RPM rsync distributor tests

Add a new function, `_get_dists_by_type_id`. It finds information about
all of a repository's distributors, and returns that information as a
dict keyed by distributor type IDs. The dict is in this form:

    {'yum_distributor': {…}, 'rpm_rsync_distributor': {…}}

Add a new method, `_RsyncDistUtilsMixin.make_repo`. It creates a
repository with a yum importer, yum distributor and RPM rsync
distributor.

Finally, rename `_MakeUserMixin` to `_RsyncDistUtilsMixin`. This
reflects the fact that the class contains tools for working with RPM
rsync distributors, not just users.

These changes reduce the amount of duplicated logic in the test cases
(`PublishTestCase` and `PublishBeforeYumTestCase`), and should be useful
when writing more test cases.

The RPM rsync distributor test cases were added in
96fc3884b.

364 of 516 relevant lines covered (70.54%)

0.71 hits per line

Source Files on job 953.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 953
  • Travis Job 953.1
  • 4e123bb2 on github
  • Prev Job for on master (#951.1)
  • Next Job for on master (#956.1)
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