Revision da4a52a3 test/py/ganeti.config_unittest.py
b/test/py/ganeti.config_unittest.py | ||
---|---|---|
104 | 104 |
|
105 | 105 |
def _create_instance(self): |
106 | 106 |
"""Create and return an instance object""" |
107 |
inst = objects.Instance(name="test.example.com", disks=[], nics=[], |
|
107 |
inst = objects.Instance(name="test.example.com", |
|
108 |
uuid="test-uuid", |
|
109 |
disks=[], nics=[], |
|
108 | 110 |
disk_template=constants.DT_DISKLESS, |
109 | 111 |
primary_node=self._get_object().GetMasterNode()) |
110 | 112 |
return inst |
Also available in: Unified diff