summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-073-90/+374
| | | | cases.
* Adding test_oc_adm_router.Kenny Woodson2017-03-071-0/+476
|
* Adding router test.Kenny Woodson2017-03-071-0/+85
|
* Remove dummy setup/teardown methodsRodolfo Carvalho2017-03-0612-96/+0
|
* Clean up test filesRodolfo Carvalho2017-03-0613-157/+0
| | | | | They are not executable anymore, and tests are now meant to be run through pytest.
* Make generic OCObjectValidator from OCSDNValidatorMonis Khan2017-03-062-481/+916
| | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* Mock runs differntly on travis. Fix the mock test params to be ANY.Kenny Woodson2017-03-061-3/+2
|
* Fixed the none namespace. Fixed tests with latest loc_oc_binary call.Kenny Woodson2017-03-061-1/+6
|
* Fixed tests to align with new naming.Kenny Woodson2017-03-061-1/+1
|
* Fixing lintersKenny Woodson2017-03-061-4/+0
|
* Adding integration test. Fixed issue with node_selector.Kenny Woodson2017-03-061-0/+83
|
* Adding oc_project to lib_openshift.Kenny Woodson2017-03-061-0/+130
|
* Merge pull request #3387 from enj/enj/f/sdn_moduleScott Dodson2017-02-271-0/+481
|\ | | | | Add SDNValidator Module
| * Add SDNValidator ModuleMonis Khan2017-02-211-0/+481
| | | | | | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* | [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-275-19/+19
| |
* | lib_openshift oc file lookup improvementsJason DeTiberus2017-02-2111-20/+1264
|/ | | | | | | | | | | | | | - Move binary file search to separate method called from constructor - Use six.PY3 instaed of sys.version_info - Combine additional paths with the paths from the environment - For py3 pass the combined paths to shutil.which - For py2 explictly search for existance of file from combined paths instead of using distutils.spawn.find_executable and falling back - Use 'oc adm' instead of 'oadm' - Fix generate_validation test issue - fix tests for oc binary location - add tests for file lookup
* Removed unused code. Made tests executable.Kenny Woodson2017-02-2111-0/+0
|
* Unset exec bit in tests, add missing requirementsJason DeTiberus2017-02-1911-0/+0
| | | | was: separate lib_ unit tests from other unit tests
* Include missing unit tests to test runner configRodolfo Carvalho2017-02-1911-0/+0
| | | | We were not running those tests in CI, bad :(
* Pleasing the linting gods.Kenny Woodson2017-02-161-3/+3
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-161-23/+71
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-161-4/+14
|
* Merge pull request #3299 from kwoodson/oc_envScott Dodson2017-02-132-0/+519
|\ | | | | Adding oc_env to lib_openshift.
| * Pleasing the linting bot.Kenny Woodson2017-02-082-66/+1
| |
| * Adding integration tests.Kenny Woodson2017-02-082-251/+405
| |
| * Adding oc_env to lib_openshift.Kenny Woodson2017-02-081-0/+430
| |
* | Fixing docs.Kenny Woodson2017-02-091-2/+12
| |
* | Adding test cases.Kenny Woodson2017-02-092-0/+556
|/
* Merge pull request #3283 from kwoodson/router_portKenny Woodson2017-02-082-0/+298
|\ | | | | Adding test cases. Adding support for specifying port on route.
| * Fixing for flake8 spacing.Kenny Woodson2017-02-081-2/+1
| |
| * Fixing tests for linters.Kenny Woodson2017-02-082-100/+100
| |
| * Adding port support for route.Kenny Woodson2017-02-082-0/+299
| |
* | Added temporary kubeconfig file. Fixed tests to coincide with tmpfile.Kenny Woodson2017-02-088-14/+85
|/
* Merge pull request #3285 from twiest/fix_unittestsKenny Woodson2017-02-084-33/+109
|\ | | | | Fixed ansible module unit and integration tests and added runners.
| * Fixed ansible module unit and integration tests and added runners.Thomas Wiest2017-02-074-33/+109
| |
* | Changed lib_openshift to use real temporary files.Thomas Wiest2017-02-082-23/+20
|/
* Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest2017-02-063-3/+339
|
* Doc enhancements.Kenny Woodson2017-02-021-2/+5
|
* Fixing linters.Kenny Woodson2017-02-023-87/+5
|
* Adding unit test. Fixed redudant calls to get.Kenny Woodson2017-02-011-0/+188
|
* oc_label ansible moduleJoel Diaz2017-02-012-0/+429
| | | | used for adding/removing labels on various OpenShift objects
* Fixing for tox tests. (flake8|pylint)Kenny Woodson2017-01-311-1/+0
|
* Adding unit test for oc_service. Added environment fix for non-standard oc ↵Kenny Woodson2017-01-311-0/+206
| | | | installs.
* Adding integration tests.Kenny Woodson2017-01-311-58/+96
|
* Adding oc_service to lib_openshift.Kenny Woodson2017-01-311-0/+91
|
* Added repoquery to lib_utils.Thomas Wiest2017-01-311-1/+1
|
* Added oc_serviceaccount to lib_openshift.Thomas Wiest2017-01-302-0/+215
|
* Merge pull request #3197 from kwoodson/manage_nodeKenny Woodson2017-01-302-0/+235
|\ | | | | Adding oadm_manage_node lib_openshift.
| * Fixing linters.Kenny Woodson2017-01-261-5/+3
| |
| * Added unit integration tests. Enhanced unit tests. Fixed an issue in ↵Kenny Woodson2017-01-262-67/+173
| | | | | | | | openshift_cmd for namespace.