Is there a way to test if a class method was called from an instance? What I am trying to do is if a method is called from the class return a commanding proxy with an mock or stub type object as the proxied object. If it is called from the instance I want to return a proxy for the instance.
Does what I am trying to do make sense? Thanks! -- *********************************** See there, that wasn't so bad. *********************************** _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor