[TIP] Coming changes to unittest2 plugins

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Sep 27 11:50:07 PDT 2010


On 06:36 pm, holger at merlinux.eu wrote:
>On Mon, Sep 27, 2010 at 17:51 -0000, exarkun at twistedmatrix.com wrote:
>>On 05:09 pm, holger at merlinux.eu wrote:
>>>On Mon, Sep 27, 2010 at 16:17 -0000, exarkun at twistedmatrix.com wrote:
>>>>
>>>>But this difference doesn't matter.  If someone wants to specify a
>>>>method of an inner class to be used as a plugin - great!  As far as 
>>>>I
>>>>can tell, unittest2 doesn't care.  The : doesn't add anything.
>>>
>>>In context of generic distutils2 entry point-like specification we
>>>are not only talking about plugins but also command line main()
>>>functions etc.
>>
>>Where, again, the difference does not matter.
>
>It does if you want more or something else than loading a live object.

Yes?  And do main points or unittest or distutils plugins want more than 
this?  And even if you do, then once you have the live object, you can 
do whatever else you want with it.

Jean-Paul



More information about the testing-in-python mailing list