summaryrefslogtreecommitdiffstats
path: root/openstack/common/testutils.py
Commit message (Collapse)AuthorAgeFilesLines
* Use testtools as test base class.Monty Taylor2013-01-241-68/+0
| | | | | | | | | | | | | 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
* Create testutils with skip decorators.Russell Bryant2012-06-041-0/+68
This patch creates openstack.common.testutils which includes some decorators used to conditionally skip tests. This is needed for the rpc unit tests. Change-Id: Ic6bc8d58f7dfcd9eb3acd2749c475b9d760b9578