def test_displays_last_page_on_request(self): response = views.list_comments(self.get_request(data={'p': 'last'}), self.get_context()) tools.assert_equals([], response.context_data['comment_list'])
def test_empty_list_returned_with_no_comments(self): response = views.list_comments(self.get_request(), self.get_context()) tools.assert_equals([], response.context_data['comment_list'])