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

SatelliteQE / nailgun / 373 / 3
91%
master: 97%

Build:
Build:
LAST BUILD BRANCH: sca-entity-field
DEFAULT BRANCH: master
Ran 16 Jul 2015 07:41PM UTC
Files 6
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

16 Jul 2015 07:35PM UTC coverage: 91.453%. First build
373.3

push

travis-ci

elyezer
Fix a System OneToOneField

The `System` entity's `environment` field is incorrectly defined as referencing
an `Environment` entity. It should reference a `LifecycleEnvironment` entity.

Before fix:

    >>> from nailgun import entities
    >>> env = entities.Environment(id=1)
    >>> lce = entities.LifecycleEnvironment(id=1)
    >>> entities.System(environment=env).create_payload()
    {'environment_id': 1}
    >>> entities.System(environment=lce).create_payload()
    {'environment_id': nailgun.entities.LifecycleEnvironment(…)}

After fix:

    >>> from nailgun import entities
    >>> env = entities.Environment(id=1)
    >>> lce = entities.LifecycleEnvironment(id=1)
    >>> entities.System(environment=env).create_payload()
    {'environment_id': nailgun.entities.Environment(…)}
    >>> entities.System(environment=lce).create_payload()
    {'environment_id': 1}

1177 of 1287 relevant lines covered (91.45%)

0.91 hits per line

Source Files on job 373.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 373
  • Travis Job 373.3
  • 6209db3a on github
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