nova-net: Migrate 'test_availability_zone' functional tests

This is pretty simple - a nova-network host obviously won't be present
in nova-network is disabled.

Change-Id: I4872f0bcaabb8e1cf1aad297a1c55993f2a3fe6e
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2019-09-19 14:57:30 +01:00 committed by Matt Riedemann
parent 5ee7a7d5da
commit 2da2f60fea
3 changed files with 0 additions and 16 deletions

View File

@ -9,13 +9,6 @@
"updated_at": null
}
},
"network": {
"nova-network": {
"active": true,
"available": true,
"updated_at": null
}
},
"scheduler": {
"nova-scheduler": {
"active": true,

View File

@ -15,13 +15,6 @@
"available": true,
"updated_at": %(strtime_or_none)s
}
},
"network": {
"nova-network": {
"active": true,
"available": true,
"updated_at": %(strtime_or_none)s
}
}
},
"zoneName": "internal",

View File

@ -16,7 +16,6 @@ from nova.tests.functional.api_sample_tests import test_servers
class AvailabilityZoneJsonTest(test_servers.ServersSampleBase):
USE_NEUTRON = False
ADMIN_API = True
sample_dir = "os-availability-zone"
@ -29,7 +28,6 @@ class AvailabilityZoneJsonTest(test_servers.ServersSampleBase):
response = self._do_get('os-availability-zone')
self._verify_response('availability-zone-list-resp', {}, response, 200)
# TODO(stephenfin): Migrate off of nova-network
def test_availability_zone_detail(self):
response = self._do_get('os-availability-zone/detail')
self._verify_response('availability-zone-detail-resp', {}, response,