def test_is_orderable(self): view = ContentsView(self.folder, TestRequest()) self.failIf(view.is_orderable())
def test_is_orderable(self): view = ContentsView(self.folder, TestRequest()) view._getNavigationVars = lambda: {} self.assertFalse(view.is_orderable())