summaryrefslogtreecommitdiff
path: root/openstackclient/tests/test_shell_integ.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix auth prompt brokennessDean Troyer2016-08-291-0/+58
| | | | | | | | | | | | | | We start by fixing this in the already-present OSC_Config class so OSC can move forward. This change needs to get ported down into os-client-config in the near future, maybe even soon enough to make the client library freeze this week. * Add the pw-func argument to the OSC_Config (or OpenStackConfig) __init__() * When looping through the auth options from the KSA plugin look for any that have a prompt defined and do not have a value already, so ask for one. Closes-bug: #1617384 Change-Id: Ic86d56b8a6844516292fb74513712b486fec4442
* Integ test cleanupDean Troyer2016-08-181-42/+91
| | | | Change-Id: Ie58a7bec569421097e92a7ddf3cb164fc3f07413
* Add shell integration testDean Troyer2016-08-181-0/+561
These run next to unit tests, but unlike unit tests, they test the dependent libraries also. This is to detect incompatible breakage in those dependencies. The tests provide CLI-level input and verify the API calls being made via requests using requests_mock so the entire stack is tested. It is possible we want to run these separate from the unit tests. They do not belong in the functional tests as they do not require a functional cloud for testing. Depends-on: I426548376fc7d3cdb36501310dafd8c44d22ae30 Change-Id: I356956fcc4ff35191a6ad6a085b75cf370434b09