def test_no_query(self, db_request):
    journals = sorted([JournalEntryFactory.create() for _ in range(30)], key=(lambda j: (j.submitted_date, j.id)), reverse=True)
    result = views.journals_list(db_request)
    assert (result == {'journals': journals[:25], 'query': None})
def test_no_query(self, db_request):
    journals = sorted([JournalEntryFactory.create() for _ in range(30)], key=(lambda j: (j.submitted_date, j.id)), reverse=True)
    result = views.journals_list(db_request)
    assert (result == {'journals': journals[:25], 'query': None})