Re: [Webware-devel] How to test if code is running within WebKit instance?

2002-02-25 Thread Edmund Lian
Tavis wrote: >>The gist of it is that you need to provide a dummy Transaction object. Cheetah.DummyTransaction should do the trick for you<< OK, thanks! ...Edmund. ___ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists

Re: [Webware-devel] How to test if code is running within WebKit instance?

2002-02-25 Thread Tavis Rudd
On Monday 25 February 2002 22:40, Edmund Lian wrote: > Is there an easy way for an instantiated object to test if it was > instantiated within a WebKit instance, or from a command line? I > have some classes that need to fake a self.request() method if they > are being run outside WebKit (for test

[Webware-devel] How to test if code is running within WebKit instance?

2002-02-25 Thread Edmund Lian
Is there an easy way for an instantiated object to test if it was instantiated within a WebKit instance, or from a command line? I have some classes that need to fake a self.request() method if they are being run outside WebKit (for testing, etc.) AFAIK, the standard __name__ == __main__ test isn'

Re: [Webware-devel] bad memory leak-RESOLVED

2002-02-25 Thread Jay Love
FYI Greg let me know that he tracked down his problem. Some of his code was throwing exceptions that he wasn't seeing. He wrapped it in try/except blocks and now all is well. Jay On Sun, 2002-02-24 at 22:30, Jay Love wrote: > > Greg, can you post the servlet you are using? (if its relativel