----- 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 [EMAIL PROTECTED] --------- _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )