def test_empty_has_subobjects(self): view = ContentsView(self.folder, TestRequest()) self.failIf(view.has_subobjects())
def test_has_subobjects(self): self._make_one() view = ContentsView(self.folder, TestRequest()) self.failUnless(view.has_subobjects())