'Two :class:`GCEBlockDeviceAPI` instances can be run with different
cluster_ids. Since users can specify the names of their
dataset, Make sure that creating a 2 volumes with the same
dataset_id raises GCEVolumeException.'

def test_create_duplicate_dataset_ids(self):

    gce_block_device_api_1 = gceblockdeviceapi_for_test(self)
    gce_block_device_api_2 = gceblockdeviceapi_for_test(self)
    shared_dataset_id = uuid4()
    gce_block_device_api_1.create_volume(shared_dataset_id, get_minimum_allocatable_size())
    self.assertRaises(GCEVolumeException, gce_block_device_api_2.create_volume, shared_dataset_id, get_minimum_allocatable_size())
