diff options
| author | Andy Southgate <andy.southgate@citrix.com> | 2011-01-21 12:00:45 +0000 |
|---|---|---|
| committer | Andy Southgate <andy.southgate@citrix.com> | 2011-01-21 12:00:45 +0000 |
| commit | 1dbdb180cb93a812f8336bbfc49bf67a5203d1eb (patch) | |
| tree | 00ef56bbe160449437bd24a0ee4250ef6c12272b /nova/tests | |
| parent | 8f531ef7c0782feba46f83ec2e45d113753c4052 (diff) | |
OS-55: Fix current unit tests
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/db/fakes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/db/fakes.py b/nova/tests/db/fakes.py index 05bdd172e..72e093f99 100644 --- a/nova/tests/db/fakes.py +++ b/nova/tests/db/fakes.py @@ -58,6 +58,7 @@ def stub_out_db_instance_api(stubs): 'project_id': values['project_id'], 'launch_time': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()), 'instance_type': values['instance_type'], + 'key_data': None, 'memory_mb': type_data['memory_mb'], 'mac_address': values['mac_address'], 'vcpus': type_data['vcpus'], @@ -68,6 +69,7 @@ def stub_out_db_instance_api(stubs): def fake_network_get_by_instance(context, instance_id): fields = { 'bridge': 'xenbr0', + 'injected': False } return FakeModel(fields) |
