Commit fcc49177 authored by Samuel GAIST's avatar Samuel GAIST

[global] Update all AssetType imports

parent 7cd40469
......@@ -37,7 +37,7 @@ from collections import namedtuple
from beat.cmdline.config import Configuration
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
if sys.platform == "darwin":
prefix_folder = tempfile.mkdtemp(prefix=__name__, suffix=".prefix", dir="/tmp")
......
......@@ -29,7 +29,7 @@ import shutil
import tempfile
from ..backend.asset import Asset
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
@pytest.fixture(params=[item for item in AssetType if item.can_create()])
......
......@@ -31,7 +31,7 @@ from PyQt5 import QtCore
from PyQt5.QtWidgets import QInputDialog
from ..backend.assetmodel import AssetModel
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..widgets.dataformateditor import DataformatWidget
from ..widgets.dataformateditor import DataformatObjectWidget
......
......@@ -28,7 +28,7 @@ import pytest
from PyQt5 import QtCore
from PyQt5.QtWidgets import QDialogButtonBox
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..widgets.dialogs import AssetCreationDialog
......
......@@ -33,7 +33,7 @@ from PyQt5.QtWidgets import QPushButton
from ..widgets.editor import AbstractAssetEditor
from ..widgets.field import FieldWidget
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
class MockAssetEditor(AbstractAssetEditor):
......
......@@ -23,7 +23,7 @@
# #
###############################################################################
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from .editor import AbstractAssetEditor
......
......@@ -52,7 +52,7 @@ from PyQt5.QtWidgets import QWidget
from beat.core.protocoltemplate import ProtocolTemplate
from ..backend.assetmodel import AssetModel
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from ..utils import is_Qt_equal_or_higher
......
......@@ -43,7 +43,7 @@ from PyQt5.QtWidgets import QWidget
from ..utils import frozen
from ..utils import dataformat_basetypes
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
from .scrollwidget import ScrollWidget
......
......@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QRadioButton
from PyQt5.QtWidgets import QVBoxLayout
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
from ..utils import dataformat_basetypes
......
......@@ -38,7 +38,7 @@ from PyQt5.QtWidgets import QMessageBox
from PyQt5.QtWidgets import QWidget
from PyQt5.QtWidgets import QVBoxLayout
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from .dialogs import AssetCreationDialog
......
......@@ -23,7 +23,7 @@
# #
###############################################################################
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from .editor import AbstractAssetEditor
......
......@@ -25,7 +25,7 @@
from ..utils import frozen
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
from .editor import AbstractAssetEditor
......
......@@ -23,7 +23,7 @@
# #
###############################################################################
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from .editor import AbstractAssetEditor
......
......@@ -23,7 +23,7 @@
# #
###############################################################################
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from .editor import AbstractAssetEditor
......
......@@ -42,7 +42,7 @@ from PyQt5.QtWidgets import QWidget
from ..utils import frozen
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
from .scrollwidget import ScrollWidget
......
......@@ -23,7 +23,7 @@
# #
###############################################################################
from ..backend.assetmodel import AssetType
from ..backend.asset import AssetType
from ..utils import frozen
from .editor import AbstractAssetEditor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment