Remove the old fake server data.
The old fake server framework has be replaced with the new class FakeServer, which is stronger in: 1. faking multiple servers with random names and ids 2. faking methods in a server 3. easier to use So remove the old fake server data, and use class FakeServer from now on. Change-Id: Ife8ee37a7ce14d9a3201104bce8075a918a97613 Implements: blueprint osc-unit-test-framework-improvement
This commit is contained in:
@@ -23,17 +23,8 @@ from openstackclient.tests import utils
|
||||
from openstackclient.tests.volume.v2 import fakes as volume_fakes
|
||||
|
||||
|
||||
server_id = 'serv1'
|
||||
server_name = 'waiter'
|
||||
|
||||
service_id = '1'
|
||||
|
||||
SERVER = {
|
||||
'id': server_id,
|
||||
'name': server_name,
|
||||
'metadata': {},
|
||||
}
|
||||
|
||||
extension_name = 'Multinic'
|
||||
extension_namespace = 'http://docs.openstack.org/compute/ext/'\
|
||||
'multinic/api/v1.1'
|
||||
|
||||
Reference in New Issue
Block a user