

def test_edit_pool_by_name(self):
    ' Try to rename a pool using edit_pool() function\n\n            Pool is not uniquely identified (empty spec) so this should raise an error\n        '
    schema = {
        'id': self.schema_attrs['id'],
    }
    spec = {
        
    }
    attrs = {
        'name': self.pool_attrs['name'],
        'default_type': 'assignment',
        'description': 'A simple test pool with correct name!',
    }
    self.assertRaises(NipapInputError, spec.nipap.edit_pool, self.auth, schema, spec, attrs)

dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py NipapTest.test_edit_pool_by_name/VarMisuse@67/165 `self`->`spec`