Davanum Srinivas 7f098afd2d Hack to get back stopall cleanup behavior feature
So, calling addCleanup in __init__ is not supported anymore in
latest testtools. This breaks the support we used to have in
the base class that registered mock.patch.stopall right at the
beginning, so classes inheriting would not have to worry about
the cleanup. For Mitaka, we add a hack to make it work by
looking at the underlying _cleanups variable. This clearly needs
to be removed as soon as possible.

Closes-Bug: #1545576
Change-Id: I29a77224bfd9d106c711155e0cfc10eac0e6fe36
2016-02-17 06:54:22 -05:00
..
2015-01-15 11:24:07 +01:00
2015-01-15 11:24:07 +01:00
2015-06-12 14:35:28 +00:00
2015-06-12 14:34:51 +00:00