user-cont / conu

conu - python API for your containers
http://conu.readthedocs.io/en/latest/
MIT License
165 stars 33 forks source link

skip origin and k8s tests if there is no OpenShift installed or running #286

Closed rpitonak closed 6 years ago

rpitonak commented 6 years ago

This PR contains:

  1. move tests for k8s and origin backend to classesTestK8s and TestOpenshift.
  2. skip k8s and origin tests if:
    • oc command does not exist
    • OpenShift cluster is not running
  3. allow using make test-in-container even when ~/.kube directory doesn't exist on the host (k8s and OpenShift tests will be skipped)
rpitonak commented 6 years ago

[test]