Use oslotest instead of common test module
Module openstack.common.test is obsolete, so we should use oslotest library instead of it. Modified tests and common database code, new requirement added. Change-Id: I853e548f11a4c3785eaf75124510a6d789536634
This commit is contained in:
parent
13d6d6308a
commit
2280d17fc2
|
@ -13,11 +13,12 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslotest import base as test_base
|
||||
|
||||
from openstack.common import context
|
||||
from openstack.common import test
|
||||
|
||||
|
||||
class ContextTest(test.BaseTestCase):
|
||||
class ContextTest(test_base.BaseTestCase):
|
||||
|
||||
def test_context(self):
|
||||
ctx = context.RequestContext()
|
||||
|
|
Loading…
Reference in New Issue