summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test/unit/test_oc_adm_router.py
Commit message (Collapse)AuthorAgeFilesLines
* add support for oc_service for labels, externalIPsRich Megginson2017-05-301-1/+2
| | | | | | | | | | | | Add support for `labels` and `externalIPs` in Services This also adds support for the `labels` parameter of `oadm registry` and `oadm router` to be a `dict` of values. This also converts `labels` dict values in the router and registry classes into a comma delimited list of `key=value` pairs. The list of `--labels` is sorted for consistency in key pair positioning in the output (and for consistency in testing) - otherwise, the order of the list is not guarantee and has actually been observed to be different from run to run.
* Add missing mock for locate_oc_binary methodPierre-Louis Bonicoli2017-04-181-1/+6
| | | | | When locate_oc_binary has not been mocked, the test suite fails when oc executable is available.
* Removing ordereddict. Replaced with sorted keys.Kenny Woodson2017-03-081-3/+5
|
* Fixed for linting.Kenny Woodson2017-03-081-4/+1
|
* Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-071-5/+4
| | | | cases.
* Adding test_oc_adm_router.Kenny Woodson2017-03-071-0/+476