Commit Graph

10 Commits

Author SHA1 Message Date
zhurong 1ea1cda5d4 Remove murano_tempest_tests from murano repo
Change-Id: I5da1c660393df335f8d5e8ab17b23bb21a8e3257
2017-12-07 02:03:48 +00:00
Felipe Monteiro 7cc0980232 Add idempotent_id decorators to murano_tempest_tests
This commit does 2 things:
  1) Adds idempotent_id decorators to murano_tempest_tests using
     check-uuid --package murano_tempest_tests --fix

  2) Fixes the external white list error that is thrown by tox -e pep8
     (which uses bandit but which was previously not included in
      whitelist_externals)

Change-Id: I8d75601a40baf5749f12151df18a116e8fab628c
2017-07-24 20:33:49 +01:00
Felipe Monteiro 634e0daa9a Update testtools.testcase.attr to decorators.attr
Tempest has moved their attr decorator to tempest.lib [0]. So now
that decortators.attr is a part of Tempest's stable library, we
should use it instead of testtools.testcase.attr, since it is
the standardized way of adding attributes to test cases in
Tempest.

This allows the possibility of doing:

    @decorators.attr(type=['foo', 'bar'])

Rather than:

    @testtools.testcase.attr('foo')
    @testtools.testcase.attr('bar')

[0] https://review.openstack.org/#/c/456236/

Change-Id: I76c23e46e57dbdbbce046f1522ed5489e5ec9d1f
2017-07-19 18:10:00 +00:00
Lin Yang 736821143e Change to tempest stable API
Previously several places in murano tempest test use unstable tempest
api. In fact, it should use api from tempest.lib.* [1]. So fixed them
to make them more robust and resilient to tempest changes. The
unstable api removed here include:
  * tempest.clients
  * tempest.test

[1] http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

Change-Id: I018b00cc026a707da6afe40a327b44e97c16db53
Related-Bug: #1589713
2016-06-16 18:14:20 +08:00
Nikolay Starodubtsev db9ea80608 Upgrade bind function to use murano actions
Bind call in murano service broker didn't use MuranoPL actions to get
credentials from the applications, and was barely a stub. Now it expects
action getCredentials and operate with it.

Change-Id: I60ee7410781c5f9e5438efec0c06fce5d11ab3ee
Closes-Bug: #1558242
2016-03-21 15:15:59 +03:00
venkatamahesh 7aa70fd2c4 Fix spelling typos
Change-Id: I7e295abea49a7b3cd906d747917a9729c479b275
2016-02-04 06:26:40 +00:00
Victor Ryzhenkin 0383bc09d9 [cfapi] Add multiple tests for cfapi service
- Add test for multiple provision action for one space id
- Add test for check purge '?' section during provision

Change-Id: Ic0abefdbd677cd1c906640346a72e4d1423a9183
Implements: blueprint murano-cfapi-func-tests
2015-11-30 18:08:28 +03:00
Victor Ryzhenkin 224eda03d6 Add binding test for cfapi
- Add test which will check binding route and functional of cfapi
service.

Change-Id: I958be30ce4fb871a460b37111bd6264f477a5bfb
Targets: blueprint murano-cfapi-func-tests
2015-11-24 17:01:11 +00:00
Victor Ryzhenkin 66f682ef42 Add provision and deprovision test for cfapi
- Add Mock app which will be imported during the test run.
This app will be deployed through Cloudfoundry API Murano Service
Broker.
- Change plugin to make possible create a zip archive
in murano_tempest_tests directory.
- Add application_catalog client into services directory to
perform operations with packages.
- Add utils to make possible dummy app generation.
- Add functions to provide additional functionality to
service_broker client.
- Add functions to service_broker base to make cleanups easier.
- Add provision and deprovision test.

Targets: blueprint murano-cfapi-func-tests

Change-Id: I6fc75f53b8f0c7b2a96ff2e1d5a63529efaf98df
2015-11-24 16:58:24 +00:00
Victor Ryzhenkin 77d6185d0d Initial commit for service broker tests in tempest plugin
- Add tempest plugin structure
- Add basic functional for tempest service broker REST client
- Add config opts for application catalog and service broker API services
- Add base for service broker tests
- Add service broker test for list applications
- Add tempest plugin configure function into devstack murano plugin

Change-Id: If4c8f95a9d69fccf6f261510b6e02eb67c738ee5
Targets: blueprint murano-cfapi-func-tests
2015-11-06 00:48:40 +03:00