mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-07-16 11:02:02 +08:00
Rearrange the imports to meet the style guide
This also includes `from __future__ import absolute_import` in every file so that the imports are consistent in Python 2 and 3. The Python 2 tests fail without this.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# SPDX-License-Identifier: MIT
|
||||
from __future__ import absolute_import
|
||||
|
||||
import pytest
|
||||
|
||||
from module_build_service.common import models
|
||||
from module_build_service.common.errors import UnprocessableEntity
|
||||
from module_build_service.common.utils import import_mmd, load_mmd
|
||||
from module_build_service.scheduler.db_session import db_session
|
||||
from module_build_service.common.errors import UnprocessableEntity
|
||||
from tests import clean_database, read_staged_data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user