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
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
Smoke testing is designed around a compromise in testing quality in
order to have results in a way that consumes less resources and time.
We want to be able to have a reasonable confidence that the service
works fairly well without having to run too many tests.
As such, let's keep what still amounts to a fairly good testing of
each component tagged as smoke.
More in-depth testing can still be achieved with the right pattern
matching but smoke testing will not be as lengthy and resource
consuming now.
Change-Id: I1544fe8d0b4548e6c078310b08fc83af2c10b211
'/environments/<env_id>/model/<path>' endpoint added.
GET request responds with the subsection of <env_id>'s object
model located in its <path>.
PATCH request applies json-patch from request body to <end_id>'s
model. It does not contain <path> in the URL.
Change-Id: I672d43464ed7d5722cc574f1a10700b070664f34
Implements: bp environment-edit
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
- Add automated tempest tests for environment management API
- Separate negative and positive tests into two different files
- Update base client class with environment management functions
Change-Id: I0ffb99db3520c090bbab74246f0cee044d9daf8e
Targets: blueprint migrate-to-tempest-plugin