neutron-lib/neutron_lib/tests/unit/api/definitions/test_dns_domain_ports.py
Hirofumi Ichihara 13f3ea617b Remove unnecessary variables in UT
In unit tests of API definition, there are extension_resources which
defines core resources although they are not resources of extension.
This patch removes them.

TrivialFix

Change-Id: I13ebffa80d5d5910840093de092d3bbe1a93a9c4
2017-07-13 14:28:36 +09:00

25 lines
936 B
Python

# Copyright (c) 2017 IBM
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from neutron_lib.api.definitions import dns
from neutron_lib.api.definitions import dns_domain_ports
from neutron_lib.tests.unit.api.definitions import base
class DnsDomainPortsDefinitionTestCase(base.DefinitionBaseTestCase):
extension_module = dns_domain_ports
extension_attributes = (dns.DNSDOMAIN,)