Added tests for following scenarios:
* publicize a non-public package
* publicize a package as non-admin user (negative test)
Change-Id: I0c2ef75535cdd894ce30d1c1404ce964ec00b248
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
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
This commit adds very basic api tests for glare artifact type for murano
Also adds initial implementation of upload/delete package methods to
tempest artifact client.
Change-Id: Idc6c06570f4674d5d998fc4fb1ec72208662ff2e
Targets: bp murano-glare-devstack-testing
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
- Replace assertEqual for package list checks to assertIn and assertNotIn
for object in TestRepositorySanity class.
Change-Id: Iec3c1edbb98de3332888dd01b2b428c8496c3fa1
Closes-Bug: #1545090
- 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
- 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