summaryrefslogtreecommitdiffstats
path: root/utils/test
Commit message (Collapse)AuthorAgeFilesLines
* quick installer: disable broken test_get_hosts_to_run_on6 testVadim Rutkovsky2018-02-071-13/+12
|
* Quick installer: run prerequistes first and update path to main playbookVadim Rutkovsky2018-02-071-24/+72
|
* Fix flake8 errors in utils/testVadim Rutkovsky2018-01-044-155/+173
|
* Remove commented-out test codeRodolfo Carvalho2017-03-061-39/+0
|
* Remove old commented-out testsRodolfo Carvalho2017-03-061-91/+0
|
* Fix testRodolfo Carvalho2017-03-061-7/+1
| | | | | | | Instead of checking if a string is True, check if 'found' is True, the string is the error message. Also, we can remove the loop and use the simpler Python 'in' construct.
* Lint utils/testRodolfo Carvalho2017-03-064-26/+24
| | | | | | | | | - Do not use `print` in unit tests, send messages through the test framework instead. - Remove unused import. - Add spaces around equal sign in assigment. - Turn method into a function. - Reorganize imports according to PEP8.
* cleanup: Removed debug prints from testsSteve Milner2017-01-112-2/+0
|
* remove debug statement from testJason DeTiberus2017-01-101-1/+0
|
* increase test coverageJason DeTiberus2017-01-101-1/+1
|
* add test for utils to bump coverageJason DeTiberus2017-01-101-0/+73
|
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-204-24/+26
| | | | versions
* Add some tests for utils to get the coverage up.Tim Bielawa2016-11-041-1/+29
|
* Merge pull request #2639 from tbielawa/test-utils-debuggingAndrew Butcher2016-10-211-0/+72
|\ | | | | Unit tests for the debug_env logger thing
| * Unit tests for the debug_env logger thingTim Bielawa2016-10-211-0/+72
| |
* | a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-202-38/+38
|/ | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
* a-o-i: Fix openshift_node_labelsSamuel Munilla2016-09-301-0/+80
| | | | | Handle openshift_node_labels separately because they need to be doublequoted.
* 'fix' unittests by removing the users ability to specify an ansible configTim Bielawa2016-09-291-76/+90
|
* a-o-i: Remove Legacy Config UpgradeSamuel Munilla2016-08-192-19/+8
| | | | | Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs.
* Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵Samuel Munilla2016-08-192-0/+2
| | | | | | | previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format.
* Merge pull request #2303 from tpoitras/typos-cli_installer.pyScott Dodson2016-08-171-1/+1
|\ | | | | Edits to fix to typos, grammar, and product branding in cli_installer
| * Fixes to typos, grammar, and product branding in cli_installerTimothy Poitras2016-08-171-1/+1
| |
* | a-o-i: Fix nosetests after removing 3.2 from installerSamuel Munilla2016-08-163-5/+5
|/ | | | | Update the tests to match 3.3 being the only version. Add support for non-latest if it's specified in the config file.
* a-o-i: Fix broken tests from installed hosts checkSamuel Munilla2016-08-151-9/+13
| | | | | | With the latest changes to behavior around uninstalled hosts during a scaleup, nosetests were broken. This updates the tests to verify that we exit when we are expecting.
* a-o-i: Update nosetests for ansible_ssh_userSamuel Munilla2016-08-093-10/+11
| | | | | Update the nosetests to reflect the new location of ansible_ssh_user in the config file.
* a-o-i: Remove AEP, OSE 3.0, and OSE 3.2 choicesSamuel Munilla2016-07-301-23/+3
| | | | | | Remove the option to select unsupported versions in the quick installer. Fixes BZ#1358101
* a-o-i: Better inventory group handlingSamuel Munilla2016-07-291-5/+5
| | | | | | | | | | A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200
* Arbitrary Installer yamlSamuel Munilla2016-07-183-326/+377
| | | | Initial build of new, more flexible installer config file format.
* a-o-i: More friendly proxy questionsSamuel Munilla2016-04-281-0/+1
| | | | | Some UI improvements to help make it more clear to the user what information we are looking for.
* a-o-i tests: Update attended tests for proxySamuel Munilla2016-04-261-0/+2
| | | | Update the input to account for the new questions around proxies.
* a-o-i: Don't assume storage on 1st masterSamuel Munilla2016-04-181-9/+29
| | | | | | | Always prompt the user for a storage host. The prompt defaults to the first master and warns the user not to use a container-based installation for this. WIP
* Merge pull request #1654 from dgoodwin/gen-inventoryBrenton Leanhardt2016-04-052-42/+116
|\ | | | | Add --gen-inventory command to atomic-openshift-installer.
| * Write inventory to same directory as quick install config.Devan Goodwin2016-03-242-10/+10
| | | | | | | | | | | | With the addition of a --gen-inventory flag and always displaying the location of the inventory written to disk, we should write the hosts file to a more prominent location rather than a hidden directory.
| * Add --gen-inventory command to atomic-openshift-installer.Devan Goodwin2016-03-242-33/+107
| | | | | | | | | | | | | | | | This will just generate the Ansible inventory once all information is gathered, inform the user where to find it, and exit. Includes some test utility updates to make what broke as a result of this change less fragile.
* | a-o-i: Add 3.2 to list of supported versionsSamuel Munilla2016-03-231-2/+3
|/
* a-o-i: Fix NFS storage testsSamuel Munilla2016-03-092-14/+52
| | | | Fix the nosetests after the rebase
* aoi: Ask for osm_default_subdomain in interactive modeSamuel Munilla2016-02-022-1/+5
| | | | Add a question to ask the user for a default subdomain.
* Add is_containerized inputs to nosetests.Andrew Butcher2016-01-122-24/+34
|
* quick installer testsSamuel Munilla2015-12-161-0/+19
| | | | Add test for not displaying HA hints for 3.0 installs
* Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵Brenton Leanhardt2015-12-081-0/+57
| | | | working with preconfigured load balancer
* Cleanup more schedulable typos.Devan Goodwin2015-12-011-2/+2
|
* Merge branch 'master' into loadbalanced-2Devan Goodwin2015-12-011-1/+1
|\
| * Fixing 'unscheduleable' typoBrenton Leanhardt2015-11-301-7/+7
| |
* | Error out if no load balancer specified.Devan Goodwin2015-11-301-9/+2
| |
* | Adjust requirement for 3 masters for HA deployments.Devan Goodwin2015-11-302-18/+79
| | | | | | | | | | | | | | | | | | If only 2 masters are specified, consider this a configuration error if running an unattended install, and prevent it completely if running an attended install. (continues to prompt for hosts until you have at least 3) Because this condition cannot be entered in the interactive install, we can't really write a test for this negative case.
* | Assert etcd section written for HA installs.Devan Goodwin2015-11-271-0/+3
| |
* | Breakout a test fixture to reduce module size.Devan Goodwin2015-11-262-222/+236
| |
* | Pylint touchups.Devan Goodwin2015-11-261-2/+2
| |
* | Trim assertions in HA testing.Devan Goodwin2015-11-261-28/+0
| | | | | | | | | | | | We're asserting the same things in loading facts over and over, which is not what these tests are really intended to catch. This behavior is tested elsewhere.
* | Test unattended HA quick install.Devan Goodwin2015-11-261-0/+109
| | | | | | | | | | Checking behavior when there is no LB specified, and when the user attempts to re-use a master or node as their LB.