def test_create_node_invalid_disk_size(self):
        image = NodeImage(
            id=1, name='Ubuntu 8.10 (intrepid)', driver=self.driver)
        size = NodeSize(
            1, '256 slice', None, None, None, None, driver=self.driver)
        location = NodeLocation(id=1, name='Europe', country='England',
                                driver=self.driver)

        try:
            self.driver.create_node(name='foo', image=image, size=size,
                                    location=location)
        except __HOLE__:
            pass
        else:
            self.fail('Invalid disk size provided but an exception was not'
                      ' thrown')
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_voxel.py/VoxelTest.test_create_node_invalid_disk_size