This is my code
def index():
    form = SQLFORM(db.article)
    if form.accepts(request.vars): response.flash = "Статья добавлена"

    articles = db().select(db.article.ALL)
    return dict(articles=articles, form=form)

I can't understand how to test index? How to test articles value for
example?

Reply via email to