nova-net: Migrate 'test_hosts' functional tests
Another case of there being no nova-network host. Change-Id: I51df797df4e1b77f70fe3dd87374737e650c27d9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
aabf8cc2d0
commit
f5c3ea2f1e
@ -10,11 +10,6 @@
|
||||
"service": "compute",
|
||||
"zone": "nova"
|
||||
},
|
||||
{
|
||||
"host_name": "396a8a0a234f476eb05fb9fbc5802ba7",
|
||||
"service": "network",
|
||||
"zone": "internal"
|
||||
},
|
||||
{
|
||||
"host_name": "abffda96592c4eacaf4111c28fddee17",
|
||||
"service": "scheduler",
|
||||
|
@ -10,11 +10,6 @@
|
||||
"service": "compute",
|
||||
"zone": "nova"
|
||||
},
|
||||
{
|
||||
"host_name": "%(host_name)s",
|
||||
"service": "network",
|
||||
"zone": "internal"
|
||||
},
|
||||
{
|
||||
"host_name": "%(host_name)s",
|
||||
"service": "scheduler",
|
||||
|
@ -17,7 +17,6 @@ from nova.tests.functional.api_sample_tests import api_sample_base
|
||||
|
||||
|
||||
class HostsSampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
|
||||
USE_NEUTRON = False
|
||||
ADMIN_API = True
|
||||
sample_dir = "os-hosts"
|
||||
|
||||
@ -42,7 +41,6 @@ class HostsSampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
|
||||
response = self._do_get('os-hosts/%s' % self.compute.host)
|
||||
self._verify_response('host-get-resp', {}, response, 200)
|
||||
|
||||
# TODO(stephenfin): Migrate off of nova-network
|
||||
def test_hosts_list(self):
|
||||
response = self._do_get('os-hosts')
|
||||
self._verify_response('hosts-list-resp', {}, response, 200)
|
||||
|
Loading…
Reference in New Issue
Block a user