'Verify that the proxy validates volume pool space.'

def test_create_volume_should_fail_if_no_pool_space_left(self):

    self.driver.do_setup(None)
    self.assertRaises(exception.VolumeBackendAPIException, self.driver.create_volume, {'name': FAKE, 'id': 1, 'size': TOO_BIG_VOLUME_SIZE})
