sorry for the inconvenience, this question may be repeated
a friend of mine can't just post in the group (may be he's just not
approved to join)
but he's having a problem testing SQLFORM using doctesting
So how can this be done ?
def using_doc_testing():
'''
>>> contactForm1 = SQLFORM(db.branches)
>>> test()
{''contactForm':contactForm1}
'''
contactForm = SQLFORM(db.branches)
return dict(contactForm=contactForm,name=request.vars.name)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---