[openstack-dev] Hacking 0.7 Released (for a bug fix)

Robert Collins robertc at robertcollins.net
Thu Aug 15 21:04:13 UTC 2013


On 16 August 2013 08:33, Joe Gordon <joe.gordon0 at gmail.com> wrote:
> Hi All,
>
> Hacking 0.7 has just been released, and merged into openstack/requirements
> (https://review.openstack.org/#/c/41523/),  due to a bug in hacking 0.6 that
> made H202, 'assertRaises Exception too broad', not work
> (https://bugs.launchpad.net/hacking/+bug/1206302).
>
> Additionally Hacking 0.7 has support to specify import exceptions in tox.ini
> so you don't have to put #noqa everywhere
> (https://bugs.launchpad.net/hacking/+bug/1206189).  This can be used to
> ignore the gettext line that doesn't import a module.  In nova this looks
> like https://review.openstack.org/#/c/38851/2/tox.ini.
>
>
> best,
> Joe Gordon

Cool! This should let testtools.matchers be used sanely ;)

Does it support 'module.*' as a way to say 'permit everything from
this module' ?

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



More information about the OpenStack-dev mailing list