diff options
author | Vladyslav Drok <vdrok@mirantis.com> | 2014-09-26 16:35:46 +0300 |
---|---|---|
committer | Vladyslav Drok <vdrok@mirantis.com> | 2014-09-30 18:02:33 +0300 |
commit | 85b3f48eb946c198887aed9bfe89d7892746b9d9 (patch) | |
tree | 782bb7dccbb58825c63b1b0d222911319af7c4de /ironic/drivers/base.py | |
parent | e5536e23c3808e113fee21108f51c939591cf08a (diff) | |
download | ironic-85b3f48eb946c198887aed9bfe89d7892746b9d9.tar.gz |
Use DbTestCase as test base when context needed
There is tests.db.base.DbTestCase class which inherits from
tests.base.TestCase and adds context to test case object. Some test
cases initialize context in their setUp method, so to avoid this
initialization and unnecessary imports tests.db.base.DbTestCase can
be used as their base class.
Change-Id: I46cf7d1a33f8fbaa7d720bcfc574c9640ef83c06
Diffstat (limited to 'ironic/drivers/base.py')
0 files changed, 0 insertions, 0 deletions