'Ensures that volume duplicates don\'t raise.'

def test_repeated_vol_types_shouldnt_raise(self):

    new_name = (self.vol_type1_name + 'dup')
    type_ref = volume_types.create(self.ctxt, new_name)
    volume_types.destroy(self.ctxt, type_ref['id'])
    type_ref = volume_types.create(self.ctxt, new_name)
