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
Wriju Bhattacharya 87051a72f5 Added Tempest tests for publicizing a package
Added tests for following scenarios:
    * publicize a non-public package
    * publicize a package as non-admin user (negative test)

Change-Id: I0c2ef75535cdd894ce30d1c1404ce964ec00b248
2017-08-03 12:21:18 -04: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
Victor Ryzhenkin e59e9435dd Do not override credential provider in tenant isolation tests
Currently the dynamic cred provider will be overrided each time
when the dynamic crededentials were generated. It causes resource
leakage in tests which used multiple dynamic credentials
e.g tenant isolation tests.

This patch makes cred generator reuse dynamic cred provider which
used for creation of first isolated credentials for second isolated
credentials too.

Change-Id: I657d66fd7cc4463e6a97cbf25d3db0cd6ff66602
Closes-Bug: #1606987
2016-08-01 08:53:22 +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
Victor Ryzhenkin fc2cf957eb Support GLARE configuration in Murano tempest plugin
- Add plugin variables for GLARE
- Add skip checks for repository test suites.

Change-Id: Idb62fb306bb853d6a3e15afd35452a1d8f5267dd
Targets: blueprint murano-glare-devstack-testing
2016-05-24 12:35:47 +00:00
Victor Ryzhenkin ceb654959a Update tempest plugin after tempest-lib deprecation
Latest tempest code doesn't using tempest-lib anymore. Tempest-lib
project now marked for deprecation. Tempest-lib code now lives in
tempest repository and to avoid any Import errors connected with
tempest-lib we should update our tempest tests.

- This patch replaces all insertions of tempest_lib to tempest.lib

Change-Id: Ifed108f3b56cc35cc7c5e53f7a0d128e3d4643f8
Closes-Bug: #1551863
2016-03-02 01:09:38 +03:00
Victor Ryzhenkin 3a1c5415b7 Add categories management test suite to the tempest plugin
- Add categories-related checks to the tempest plugin
- Separate negative and positive checks
- Update base client class with service management methods
- Refactor test implementation and improve code quality
- Streamline repository tests

Change-Id: If61a63624b0d100fb061ad5a807e8017d703e760
Targets: blueprint migrate-to-tempest-plugin
2016-02-01 15:48:46 +00:00
Victor Ryzhenkin b789b091ae Add application catalog repository tests to the tempest plugin.
- Added application catalog package repository tests
- Fixed some flubs in plugin code, for example,
replaced service_broker to application_catalog in app-catalog client
class.

Change-Id: I6bbec1993ef5fd334527e0820743d42b656e3b7e
Targets: blueprint migrate-to-tempest-plugin
2016-01-27 22:16:25 +00:00