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't going to if I'm manually instantiating a test instance from the Python command line.
...Edmund. _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel
