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

nmstate / nmstate / 3532 / 2

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2019 02:36PM UTC
Files 34
Run time 2s
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

22 Nov 2019 02:26PM UTC coverage: 80.666% (+0.2%) from 80.46%
DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'"

push

travis-ci-com

tyll
nm/state: Discard IP stack when disabled for verification

When desire contain extra IP information when IP disabled,
the verification will fail.

For example:

    desire:     {'enabled': False, 'dhcp': False}
    current:    {'enabled': False}

The verification should pass on the above use case.
The fix is remove the whole IP stack before verification when disabled.

A unit test case has been added for this use case.

Signed-off-by: Gris Ge <fge@redhat.com>

2495 of 3093 relevant lines covered (80.67%)

0.81 hits per line

Source Files on job 3532.2 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'")
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2751
  • Travis Job 3532.2
  • 780e0833 on github
  • Prev Job for DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'" on master (#3513.2)
  • Next Job for DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'" on master (#3537.2)
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