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

SatelliteQE / nailgun / 373
91%
master: 97%

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

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

1.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 373.1 16 Jul 2015 07:41PM UTC 0
91.45
Travis Job 373.1
3 373.3 16 Jul 2015 07:41PM UTC 0
91.45
Travis Job 373.3
Source Files on build 373
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #373
  • 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