Clean imports in code

This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines,
user should import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Iec8caf72cbaa4f245e38aa7d68632783842a34be
This commit is contained in:
Nam Nguyen Hoai 2017-01-25 09:40:37 +07:00
parent 9d1a90c763
commit 4ff005abf6

View File

@ -13,10 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from functionaltests.api.v1.models.base_models import BaseModel
from functionaltests.api.v1.models import base_models
class OrderModel(BaseModel):
class OrderModel(base_models.BaseModel):
def __init__(self, type=None, name=None, status=None, secret_ref=None,
expiration=None, updated=None, created=None, meta=None,