'Tests that we ignore a compute node that does not have its
free_disk_gb field set yet from the compute resource tracker.'

def test_update_from_compute_node_not_ready(self):

    host = ironic_host_manager.IronicNodeState('fakehost', 'fakenode', uuids.cell)
    self.compute_node.free_disk_gb = None
    host.update(compute=self.compute_node)
    self.assertEqual(0, host.free_disk_mb)
