예제 #1
0
 def test_empty_has_subobjects(self):
     view = ContentsView(self.folder, TestRequest())
     self.failIf(view.has_subobjects())
예제 #2
0
 def test_has_subobjects(self):
     self._make_one()
     view = ContentsView(self.folder, TestRequest())
     self.failUnless(view.has_subobjects())