3b5d149cf3de56aaa8d9f56d0dfb92b474e2e596
1) Refactoring: - Replace Python underscore variable with indexing. - Use constants. - Move negative test cases to dedicated "Negative" class. - Client's "create_zone_import" had to be improved. - Using provided "wait_until" in the existing tests. 2) "test_create_zone_import_invalid_file_data" Try to create a zone import using invalid zone file data. Expected: zone gets into the ERROR status. 3) "test_zone_cannot_be_update_by_import" Try to update an existing zone using Zone import. Expected: zone import gets into the ERROR status. 4) "test_create_zone_import_invalid_content_type" to test "415 unsupported_content_type" error response. Change-Id: Ifce7e6ed910c43aacc566cdf692eec45779811e4
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%