Merge "add unittest for delete tag definition interface"

This commit is contained in:
Zuul 2020-02-27 19:08:56 +00:00 committed by Gerrit Code Review
commit b8d383cf20

View File

@ -118,6 +118,14 @@ class TestNamespaceTagsClient(base.BaseServiceTest):
def test_show_namespace_tag_with_bytes_body(self):
self._test_show_namespace_tag_definition(bytes_body=True)
def test_delete_namespace_tag_definition(self):
self.check_service_client_function(
self.client.delete_namespace_tag,
'tempest.lib.common.rest_client.RestClient.delete',
{}, status=204,
namespace="OS::Compute::Hypervisor",
tag_name="added-sample-tag")
def test_delete_all_namespace_tags(self):
self.check_service_client_function(
self.client.delete_namespace_tags,