def test9(self): manage(exclude=['id'])(self.d.init)() assert 'id' in self.d._managed
def test7(self): manage(include=['foo'], exclude=['foo'])(self.d.init)() assert len(self.d._managed) == 3
def test8(self): manage(include=['foo'], exclude=['foo'])(self.d.init)() assert self.d._managed == set(('id', 'name', 'foo'))
def test4(self): manage(exclude=[])(self.d.init)() assert len(self.d._managed) == 4
def test5(self): manage()(self.d.init)() assert len(self.d._managed) == 4
def test2(self): manage(['xxx'])(self.d.init)() assert 'xxx' in self.d._managed
def test3(self): incl = ['xxx', 'yyy'] manage(incl)(self.d.init)() assert set(incl) <= self.d._managed