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

openshift / openshift-restclient-python / 876 / 4
77%
master: 52%

Build:
Build:
LAST BUILD BRANCH: v0.13.1
DEFAULT BRANCH: master
Ran 04 Sep 2019 06:21PM UTC
Files 7
Run time 0s
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

04 Sep 2019 06:15PM UTC coverage: 47.484% (-0.2%) from 47.668%
TEST_SUITE=unit OPENSHIFT_VERSION=latest

push

travis-ci-com

fabianvf
[release-0.9] Provide apply_object method to help check mode (#319)

* Provide apply_object method to help check mode

Split existing apply method into one method that finds the
changes and one method that does the changes

* Add test case

* Fix get_deletions when data is of mixed string type

Somehow the definition argument passed to apply_object can
be mostly str type, whereas the existing resource gets converted
to mostly unicode type. I've only seen this happen with ansible's
check mode!

* Improve code paths through get_deletions

Safeguard the case where `last_applied_value` is a `dict` and
`desired_value` is not a `dict`

This allows us to remove another code path when `desired_value`
is `None`

100 of 319 branches covered (31.35%)

368 of 775 relevant lines covered (47.48%)

0.47 hits per line

Source Files on job 876.4 (TEST_SUITE=unit OPENSHIFT_VERSION=latest)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 791
  • Travis Job 876.4
  • ed06b5b6 on github
  • Prev Job for TEST_SUITE=unit OPENSHIFT_VERSION=latest on release-0.9 (#867.3)
  • Next Job for TEST_SUITE=unit OPENSHIFT_VERSION=latest on release-0.9 (#877.4)
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

© 2025 Coveralls, Inc