Hi everyone, Is there a best way to do doctest for models? Currently "web2py.py -T app" only runs doctests in controllers, but not doctests in model. You might say that generally a model should not contain logic at all. I understand that but sometimes you just feel convenient to define several wrapper-functions to share between different controllers. Besides, my wrapper-functions (as well as their doctests) have close relationship with model definitions so that I don't want to put them in another module file or using separate tests/some_script.py
Any suggestion? Thanks in advance. Regards, Iceberg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---