[openstack-dev] Testtools usage?

Robert Collins robertc at robertcollins.net
Fri Jan 25 00:01:34 UTC 2013


On 25 January 2013 12:54, Monty Taylor <mordred at inaugust.com> wrote:
>
>
> On 01/25/2013 09:49 AM, Joshua Harlow wrote:
>> Ok, so would just having testtools use unittest2 work better?
>
> Ah. Hrm. Looping in Robert.

It is a possibility. OTOH then that question can be asked for every
other base class out there.

I would say:
 - if you want to use a unittest2.TestCase only feature:
  - subclass unittest2.TestCase (use multiple inheritance if you also
need testtools features).
  - or file a bug that that feature isn't available in testtools
(which explicitly supports Python2.6).


-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Cloud Services



More information about the OpenStack-dev mailing list