Mock correct cred_get function in unit test of lb_policy
We should mock cred_get function defined in senlin.db.api module rather than senlin.db.sqlalchemy.api module in lb_policy unit test. This patch fixes this issue. Change-Id: Ic4d0ff03ca97071fc19bc87c6f083ee13350eda7
This commit is contained in:
parent
140f9fa9e5
commit
994259b3a0
|
@ -17,7 +17,7 @@ import six
|
|||
from senlin.common import consts
|
||||
from senlin.common import context
|
||||
from senlin.common import exception
|
||||
from senlin.db.sqlalchemy import api as db_api
|
||||
from senlin.db import api as db_api
|
||||
from senlin.drivers import base as driver_base
|
||||
from senlin.engine import cluster_policy
|
||||
from senlin.engine import node as node_mod
|
||||
|
|
Loading…
Reference in New Issue