----- Original Message ----- 
From: "Johan Carlsson [Torped]"

> The only thing I want to do in this first phase is to be able to make 
> syntax/sanity checks.

I use something like this for writing and testing external methods, having TextPad run 
the same python zope uses: 

if __name__ == '__main__':
    class EmptyClass: pass
    REQUEST = EmptyClass()
    REQUEST.form = {'sortSeq' : 'Date'}
    #REQUEST.form = {'sortSeq' : 'Item'}

    print BacklogDetail(REQUEST=REQUEST)

Emile van Sebille


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to