summaryrefslogtreecommitdiff
path: root/ironic/drivers/base.py
diff options
context:
space:
mode:
authorVladyslav Drok <vdrok@mirantis.com>2014-09-26 16:35:46 +0300
committerVladyslav Drok <vdrok@mirantis.com>2014-09-30 18:02:33 +0300
commit85b3f48eb946c198887aed9bfe89d7892746b9d9 (patch)
tree782bb7dccbb58825c63b1b0d222911319af7c4de /ironic/drivers/base.py
parente5536e23c3808e113fee21108f51c939591cf08a (diff)
downloadironic-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