2 Commits

Author SHA1 Message Date
Monty Taylor
72cadd4f38 Use testtools as test base class.
On the path to testr migration, we need to replace the unittest base classes
with testtools.
Replace tearDown with addCleanup, addCleanup is more resilient than tearDown.
The fixtures library has excellent support for managing and cleaning
tempfiles. Use it.
Replace skip_ with testtools.skipTest

Part of blueprint grizzly-testtools.

Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
2013-01-24 16:26:43 +11:00
Michael Still
bdfffca2cb Move utils.execute to its own module.
Also move the exceptions raised to being local to the executils
module.

Change-Id: Ibb2445f92840b9ce4b52373b0b09adb3d6a4a897
2012-11-01 15:00:55 +01:00