e87eca48b7ca265dffa088164d645dbbeea10ace
1) test_show_zone_impersonate_another_project Based on: "x-auth-all-projects" HTTP header This allows a user to impersonate another project 2) test_list_all_projects_zones Based on: "x-auth-all-projects:True" If enabled this will show results from all projects in Designate. Note: this test case replaced and improved "test_get_other_tenant_zone" as it covers more than one single tenant in its test scenario. Change-Id: I0848299ff9f407aa7918cd12358cad4e17e71e6d
Team and repository tags
Tempest Integration of Designate
This directory contains Tempest tests to cover the designate project, as well as a plugin to automatically load these tests into tempest.
See the tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/plugin.html#using-plugins
See the designate docs for information on writing new tests etc: https://docs.openstack.org/designate-tempest-plugin/latest/#writing-new-tests
Running the tests
To run all tests from this plugin, install designate into your environment and from the tempest repo, run:
$ tox -e all-plugin -- designate
To run a single test case, run with the test case name, for example:
$ tox -e all-plugin -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesAdminTest.test_get_other_tenant_zone
To run all tempest tests including this plugin, run:
$ tox -e all-plugin
Description
Languages
Python
99.8%
Shell
0.2%