Ghanshyam Mann bb1996d7a8 Remove system scope token usage
Designate (like any other services) does not support the system
scope and now we are enabling the new defaults by default

- https://review.opendev.org/c/openstack/designate/+/925627

To enable the new defaults, we need to remove the usage of system
scope token from tests otherwise they fails

- https://review.opendev.org/c/openstack/designate/+/926446/

Needed-By: https://review.opendev.org/c/openstack/designate/+/925627
Needed-By: https://review.opendev.org/c/openstack/requirements/+/925464
Change-Id: I8162819f35e7aba5f9c5fab77f0308faf73287ea
2024-08-15 18:59:43 -07:00
2020-06-02 20:10:30 +02:00
2018-07-12 14:13:12 +07:00
2019-04-19 19:28:10 +00:00
2018-07-12 14:13:12 +07:00
2020-04-05 19:55:57 +00:00

Team and repository tags

image

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

From the tempest directory, setup the tempest virtual environment for the designate tempest plugin:

$ tox -e venv-tempest -- pip3 install -e <path to designate-tempest-plugin>

For example, when using a typical devstack setup:

$ cd /opt/stack/tempest
$ tox -e venv-tempest -- pip3 install -e /opt/stack/designate-tempest-plugin

To run all tests from this plugin, install designate into your environment and from the tempest repo, run:

$ tox -e all -- designate

To run a single test case, run with the test case name, for example:

$ tox -e all -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesTest.test_create_zones

To run all tempest tests including this plugin, run:

$ tox -e all
Description
OpenStack DNS As A Service (Designate) Functional Tests
Readme 7 MiB
Languages
Python 99.8%
Shell 0.2%