Merge pull request #151 from ed-/host-instance-fields-nonnull

Make sure that not only are the instance fields present, but non-null...
This commit is contained in:
Tim Simpson 2012-09-28 12:52:26 -07:00
commit a7b85b40f7

View File

@ -142,3 +142,5 @@ class HostsAfterInstanceCreation(object):
check.equal(sorted(['id', 'name', 'status', 'server_id',
'tenant_id']),
sorted(instance.keys()))
for key in instance.keys():
check.is_not_none(instance[key])