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

voxpupuli / pypuppetdb / 85
85%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2014 09:41AM UTC
Jobs 3
Files 8
Run time –
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
85

Pull #26

travis-ci

juliushaertl
Add Relationship to Resource

This commit allows to filter a Catalog for a specific Resource by
type and title and returns a Resource containing all linked Resources.

Here is a quick example:

    >>> catalog = db.catalog('hostname')
    >>> resource = catalog.get_resource('Service','ntp')
    >>> for rel in resource.relationships:
    >>>     print(rel)
    Class[Ntp] - contains - Service[ntp]
    File[/etc/ntp.conf] - notifies - Service[ntp]
    File[/etc/ntp.conf] - required-by - Service[ntp]
Pull Request #26: Add relationship to resource and filter method for catalogs

8 of 8 new or added lines in 1 file covered. (100.0%)

322 of 464 relevant lines covered (69.4%)

2.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 85.1 29 Jan 2014 09:41AM UTC 0
69.4
Travis Job 85.1
2 85.2 29 Jan 2014 09:41AM UTC 0
69.4
Travis Job 85.2
3 85.3 29 Jan 2014 09:41AM UTC 0
67.67
Travis Job 85.3
Source Files on build 85
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #85
  • Pull Request #26
  • PR Base - master (#84)
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