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

openshift / openshift-restclient-python / 937 / 6
77%
master: 52%

Build:
Build:
LAST BUILD BRANCH: v0.13.1
DEFAULT BRANCH: master
Ran 12 Dec 2019 11:00AM UTC
Files 9
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

12 Dec 2019 10:40AM UTC coverage: 61.072% (-0.3%) from 61.374%
TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=3.10

push

travis-ci-com

fabianvf
Take last applied configuration into account when patching (#348)

If, as previously, we ignore the last-applied annotation when
comparing desired and actual, we end up with a result where,
when deleting all annotations in a change, no annotations are
deleted(!)

Going from
```
metadata:
  name: my-pod
  annotations:
    x: y
```

to:
```
metadata:
  name: my-pod
```

used to result in a patch that updated the last applied configuration
value only.

Now it correctly sets the old annotations to None too.

Break out apply_patch as a separate method to allow it be tested in
isolation.

Ensure that the last-applied annotation is sorted.

Ensure that the last-applied annotation is loaded consistently (i.e.
without unnecessary conversion to u'value's)

155 of 374 branches covered (41.44%)

524 of 858 relevant lines covered (61.07%)

0.61 hits per line

Source Files on job 937.6 (TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=3.10)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 840
  • Travis Job 937.6
  • 054932fc on github
  • Prev Job for TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=3.10 on release-0.10 (#934.6)
  • Next Job for TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=3.10 on release-0.10 (#938.6)
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