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

PulpQE / pulp-smash / 953
63%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2016 06:28PM UTC
Jobs 4
Files 6
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
953

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

2.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 953.1 19 Aug 2016 06:28PM UTC 0
70.54
Travis Job 953.1
2 953.2 19 Aug 2016 06:29PM UTC 0
70.54
Travis Job 953.2
3 953.3 19 Aug 2016 06:29PM UTC 0
70.54
Travis Job 953.3
4 953.4 19 Aug 2016 06:29PM UTC 0
70.54
Travis Job 953.4
Source Files on build 953
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #953
  • 4e123bb2 on github
  • Prev Build on master (#951)
  • Next Build on master (#956)
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