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

openshift / openshift-restclient-python / 689 / 13
52%
master: 52%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2018 04:04AM UTC
Files 249
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

13 Dec 2018 08:18PM UTC coverage: 16.99% (+0.07%) from 16.923%
TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=latest

push

travis-ci

fabianvf
Implement Discoverer class and lazy loading method for API resources (#220)

* Remove resource container and implement Discoverer class

This will allow us to implement different strategies for discovering
API resources i.e. all requests at beginning, completely lazy,
background loading.

* Remove resource container unit test

* Add back line for ResourceList kind

* Add cache updating when resources are requested in __iter__ method

* Add back case where there is no match for _type field in JSONDecoder

* Change flag to for update cache to a field of Discoverer

* Add pytest unit test for discoverer

* Use generic get method for Discoverer subclasses

Only the logic for search needs to change between discoverers,
     so the get function is now defined in the Discoverer
     class instead of in each subclass

Signed-off-by: Fabian von Feilitzsch <fabian@fabianism.us>

* Update unit tests for discoverers

- Use request fixture to get the discoverer in the client fixture
- Minor style changes

Signed-off-by: Fabian von Feilitzsch <fabian@fabianism.us>

130 of 16049 branches covered (0.81%)

6647 of 39124 relevant lines covered (16.99%)

0.17 hits per line

Source Files on job 689.13 (TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=latest)
  • 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 635
  • Travis Job 689.13
  • 307dd81a on github
  • Prev Job for TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=latest on master (#682.13)
  • Next Job for TEST_SUITE=dynamic-functional OPENSHIFT_VERSION=latest on master (#704.13)
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