def test_show_basic_empty(self): view = ContentsView(self.folder, TestRequest()) view._getNavigationVars = lambda: {} self.assertFalse(view.show_basic())
def test_show_basic(self): self._make_one() view = ContentsView(self.folder, TestRequest()) view._getNavigationVars = lambda: {} self.assertTrue(view.show_basic())