Browse Source

Remove unused attribute 'RESOURCE_TYPE' for tests

Change-Id: Iddd367212a4df06a34696ed53b171f16882b70d6
changes/54/510454/1
huangtianhua 5 years ago
parent
commit
80b08d762e
  1. 2
      heat/tests/openstack/designate/test_domain.py
  2. 2
      heat/tests/openstack/designate/test_record.py
  3. 2
      heat/tests/openstack/designate/test_recordset.py
  4. 2
      heat/tests/openstack/designate/test_zone.py
  5. 2
      heat/tests/openstack/keystone/test_domain.py
  6. 2
      heat/tests/openstack/keystone/test_endpoint.py
  7. 2
      heat/tests/openstack/keystone/test_group.py
  8. 2
      heat/tests/openstack/keystone/test_project.py
  9. 2
      heat/tests/openstack/keystone/test_region.py
  10. 2
      heat/tests/openstack/keystone/test_role.py
  11. 2
      heat/tests/openstack/keystone/test_service.py
  12. 2
      heat/tests/openstack/keystone/test_user.py
  13. 2
      heat/tests/openstack/monasca/test_alarm_definition.py
  14. 2
      heat/tests/openstack/monasca/test_notification.py
  15. 2
      heat/tests/openstack/neutron/test_sfc/test_flow_classifier.py
  16. 2
      heat/tests/openstack/neutron/test_sfc/test_port_chain.py
  17. 2
      heat/tests/openstack/neutron/test_sfc/test_port_pair.py
  18. 2
      heat/tests/openstack/neutron/test_sfc/test_port_pair_group.py

2
heat/tests/openstack/designate/test_domain.py

@ -38,8 +38,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Designate::Domain'
class DesignateDomainTest(common.HeatTestCase):

2
heat/tests/openstack/designate/test_record.py

@ -40,8 +40,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Designate::Record'
class DesignateRecordTest(common.HeatTestCase):

2
heat/tests/openstack/designate/test_recordset.py

@ -39,8 +39,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Designate::Record'
class DesignateRecordSetTest(common.HeatTestCase):

2
heat/tests/openstack/designate/test_zone.py

@ -38,8 +38,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Designate::Zone'
class DesignateZoneTest(common.HeatTestCase):

2
heat/tests/openstack/keystone/test_domain.py

@ -35,8 +35,6 @@ KEYSTONE_REGION_TEMPLATE = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Domain'
class KeystoneDomainTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_endpoint.py

@ -42,8 +42,6 @@ keystone_endpoint_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Endpoint'
class KeystoneEndpointTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_group.py

@ -37,8 +37,6 @@ keystone_group_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Group'
class KeystoneGroupTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_project.py

@ -37,8 +37,6 @@ keystone_project_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Project'
class KeystoneProjectTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_region.py

@ -37,8 +37,6 @@ KEYSTONE_REGION_TEMPLATE = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Region'
class KeystoneRegionTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_role.py

@ -34,8 +34,6 @@ keystone_role_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Role'
class KeystoneRoleTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_service.py

@ -39,8 +39,6 @@ keystone_service_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::Service'
class KeystoneServiceTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/keystone/test_user.py

@ -41,8 +41,6 @@ keystone_user_template = {
}
}
RESOURCE_TYPE = 'OS::Keystone::User'
class KeystoneUserTest(common.HeatTestCase):
def setUp(self):

2
heat/tests/openstack/monasca/test_alarm_definition.py

@ -41,8 +41,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Monasca::AlarmDefinition'
class MonascaAlarmDefinitionTest(common.HeatTestCase):

2
heat/tests/openstack/monasca/test_notification.py

@ -39,8 +39,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Monasca::Notification'
class MonascaNotificationTest(common.HeatTestCase):

2
heat/tests/openstack/neutron/test_sfc/test_flow_classifier.py

@ -44,8 +44,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Neutron::FlowClassifier'
class FlowClassifierTest(common.HeatTestCase):

2
heat/tests/openstack/neutron/test_sfc/test_port_chain.py

@ -38,8 +38,6 @@ port_chain_template = {
}
}
RESOURCE_TYPE = 'OS::Neutron::PortChain'
class PortChainTest(common.HeatTestCase):

2
heat/tests/openstack/neutron/test_sfc/test_port_pair.py

@ -35,8 +35,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Neutron::PortPair'
class PortPairTest(common.HeatTestCase):

2
heat/tests/openstack/neutron/test_sfc/test_port_pair_group.py

@ -34,8 +34,6 @@ sample_template = {
}
}
RESOURCE_TYPE = 'OS::Neutron::PortPairGroup'
class PortPairGroupTest(common.HeatTestCase):

Loading…
Cancel
Save