summaryrefslogtreecommitdiff
path: root/heatclient/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* Use generic user for both zuul v2 and v3Nam Nguyen Hoai2017-10-171-3/+3
| | | | | | | Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'. Using $USER solves it for both cases. Change-Id: If6b023e3be4a4555b656660a8522271668496ead
* Merge "Add functinoal tests for 'openstack stack snapshot delete'"Jenkins2017-07-191-0/+9
|\
| * Add functinoal tests for 'openstack stack snapshot delete'shizhihui2016-11-141-0/+9
| | | | | | | | | | | | | | | | | | For now, there are several heat osc CLIs which do not have own functional tests in heatclient/tests/functional/osc/v1. I think it is time to add some for heatclient. Add functional test for 'openstack stack snapshot delete' Change-Id: I21257b4f6126b9693256c953ed9335edad53a844 Implements: bp add-functional
* | Replace six.iteritems() with .items()M V P Nitesh2017-03-311-2/+2
|/ | | | | | | | | | | | 1.As mentioned in [1], we should avoid using six.iteritems to achieve iterators. We can use dict.items instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: I3913e8876b34e112140788d7a405da6eedfb5f29
* Merge "Add heat CLI test for deleting stack"Jenkins2016-12-141-0/+6
|\
| * Add heat CLI test for deleting stackGeorgy Dyuldin2016-11-141-0/+6
| | | | | | | | Change-Id: I36301642d46f00cbf894eab3560bf298deac50b2
* | Merge "Add heat CLI test for creating stack from URL"Jenkins2016-12-142-4/+28
|\ \ | |/
| * Add heat CLI test for creating stack from URLGeorgy Dyuldin2016-11-142-4/+28
| | | | | | | | Change-Id: I63eb0958cb53b5e8d3843e59f0cfc9f55947708f
* | Update headers for the Openstack Orchestration commandsVijendra Soni2016-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | Updated headers for the following commands openstack orchestration service list, openstack orchestration template version list, and openstack orchestration template function list to keep syncronized with other Openstack commands headers Change-Id: I57f03369a501080356e5292582654cd703803b96 Closes-Bug: #1643492
* | Change property option into append actiongong yong sheng2016-11-041-0/+3
|/ | | | | | | | | Heat's other openstack commands are using append for such feature. This patch changes property option from KeyValueAction into append to make them consistent. Change-Id: I34ef34c8fa1ece4e12e20a328a70fa8b389c29d2 Closes-bug: #1639107
* Standardize import formatshizhihui2016-08-032-2/+2
| | | | | | | According to the rule in http://docs.openstack.org/developer/hacking/#imports I modify some irregular import format in heatclinet. Change-Id: I0200ddad88ee833d7de9d6df2c1519e4f4560db7
* Remove unused LOGji-xuepeng2016-07-101-4/+0
| | | | | | This is to remove unused LOG to keep code clean Change-Id: I3e9e24cc18477ca477e97eb53fecc65928dbe0b9
* Replace dict.iteritems with six.iteritems to make PY3 compatibleyuyafei2016-06-251-2/+2
| | | | | | | | Python3 do not use dict.iteritems, which would raise AttributeError: 'dict' object has no attribute 'iteritems'. Change-Id: I75f5954ce0d5573f69a22799dacb74b918028115 Closes-Bug: #1596124
* Merge "Replace tempest-lib with tempest.lib"Jenkins2016-05-035-6/+6
|\
| * Replace tempest-lib with tempest.libDaniel Gonzalez2016-04-285-6/+6
| | | | | | | | | | | | | | tempest-lib is deprecated, replace it with tempest.lib. Closes-Bug: #1553047 Change-Id: Icc17203a83513a1770dc845978550ff856dd8594
* | Add basic read-only function test for template validateMark Vanderwiel2016-04-061-0/+20
|/ | | | | | | Add basic functional test for "openstack orchestration template validate". Change-Id: I8c0bf3a27a266eaa140f033ecf32d97d0f2f1ee7
* Merge "Basic set of stack functional tests for openstack client"Jenkins2016-04-064-9/+175
|\
| * Basic set of stack functional tests for openstack clientMark Vanderwiel2016-02-294-9/+175
| | | | | | | | | | | | | | | | A few more tests that exercise the new openstack client stack interfaces. Blueprint: heat-support-python-openstackclient Change-Id: I132be3fb4068426890c7f9b4c0d8a903788ef3d6
* | Replace assertRegexpMatches with assertRegexBryan Jones2016-03-311-1/+1
|/ | | | | | | | The assertRegexpMatches function is deprecated and showing deprecation warnings, which is clogging the logs for test jobs. This patch replaces all occurances with assertRegex, the preferred method. Change-Id: Id538fb7d34269036a32758b768735fbb88137ca1
* Add more readonly openstack client funcitonal testsMark Vanderwiel2016-02-261-3/+78
| | | | | | | | Added a few more basic tests Blueprint: heat-support-python-openstackclient Change-Id: Ifbc97d849c23cd622b62b52b84d8634b8c8658db
* Add openstack client stack basic funtion testsMark Vanderwiel2016-02-014-0/+43
| | | | | | | | | | Based from the existing heat function tests. Can be expanded in the future with more then read-only tests. For now just get the tests working with openstack client. Change-Id: I1b84085b89c429b4b25f75d76d5c4b7b56d25326 Blueprint: heat-support-python-openstackclient
* Enable pep8 H405 testsricolin2015-11-162-1/+2
| | | | | | | Enabled H405 multi line docstring summary not separated with an empty line in tox testing. Change-Id: I89d063133154ae343315872b677fa06cc901cf3b
* Modify test templates and the path to subunit2htmlTakashi NATSUME2015-09-083-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the following two fixes because the gate job fails if they are not applied at the same time. 1) Use OS::Heat::TestResource in test templates Use OS::Heat::TestResource instead of OS::Nova::Server in heat_minimal.yaml and heat_minimal_hot.yaml 2) Update path to subunit2html in post_test_hook Per: http://lists.openstack.org/pipermail/openstack-dev/2015-August/072982.html The location of subunit2html changed on the images in the gate so update the path used in the post_test_hook. Long-term we should just use what's in devstack-gate. Change-Id: I67acc3145719c3de1199e36c6667d975652d262f Closes-Bug: #1492115 Closes-Bug: #1491646
* Use Heat resource to validate resource_type_showSergey Kraynev2015-08-071-1/+1
| | | | | | | | | | | Patch I01aaadf86bf86f2a01bfd3fd28541522ef5a99cf added new functionality, which raise error, if resource related endpoint is not registred in keystone. Due to heatclient functional tests job starts only heat and keystone service, we should use Heat resources for testing. The good candidate for it is OS::Heat::RandomString. Change-Id: I274a6db5c886ce8e19968e6e2ae8b16e93315cb7 Closes-Bug: #1482661
* Add support for template-function-list commandTetiana Lashchova2015-07-091-0/+6
| | | | | | | | | | | Example: heat template-function-list <template_version> DocImpact Implements bp: template-function-list Change-Id: I80fdd94c10be49f80bd8dab1288ad336d185f55d
* Add support for template-version-list commandTetiana Lashchova2015-07-021-0/+5
| | | | | | | | DocImpact Implements bp: template-version-list Change-Id: I80ae69ced9305f1e6883e6ca4902b5cc018b5e83
* Add first pass at post_test_hook for functionalSergey Kraynev2015-06-151-0/+50
| | | | | | | | | Add first pass at getting a post_test_hook working. Once the project config side of this lands this script can be self gating. Closes-Bug: #1446442 Change-Id: I562c9d4d45ee4773d80b1ef0ceec6bb9af839a29
* Add functional tests from TempestSergey Kraynev2015-06-035-0/+170
- Add separate testenv for functional tests - Copy Heat templates and tests from tempest - Add requirements tempest-lib - Add base class to functional tests Partial-Bug: #1446442 Change-Id: I254be9b25f248d59392507841dad44e1ef1c68e3