def test_titles(database): titles = Document.titles().all() assert len(titles) == 3
def title_index(): return render_template('title-index.j2', titles=Document.titles())
def test_titles(database): titles = Document.titles().all() assert len(titles) == 3
def title_index(): return render_template('title-index.j2', titles=Document.titles())