Commit 851bc579 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[global] Update all AssetType imports

parent 2c1a908f
...@@ -37,7 +37,7 @@ from collections import namedtuple ...@@ -37,7 +37,7 @@ from collections import namedtuple
from beat.cmdline.config import Configuration from beat.cmdline.config import Configuration
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
if sys.platform == "darwin": if sys.platform == "darwin":
prefix_folder = tempfile.mkdtemp(prefix=__name__, suffix=".prefix", dir="/tmp") prefix_folder = tempfile.mkdtemp(prefix=__name__, suffix=".prefix", dir="/tmp")
......
...@@ -29,7 +29,7 @@ import shutil ...@@ -29,7 +29,7 @@ import shutil
import tempfile import tempfile
from ..backend.asset import Asset 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()]) @pytest.fixture(params=[item for item in AssetType if item.can_create()])
......
...@@ -31,7 +31,7 @@ from PyQt5 import QtCore ...@@ -31,7 +31,7 @@ from PyQt5 import QtCore
from PyQt5.QtWidgets import QInputDialog from PyQt5.QtWidgets import QInputDialog
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..widgets.dataformateditor import DataformatWidget from ..widgets.dataformateditor import DataformatWidget
from ..widgets.dataformateditor import DataformatObjectWidget from ..widgets.dataformateditor import DataformatObjectWidget
......
...@@ -28,7 +28,7 @@ import pytest ...@@ -28,7 +28,7 @@ import pytest
from PyQt5 import QtCore from PyQt5 import QtCore
from PyQt5.QtWidgets import QDialogButtonBox from PyQt5.QtWidgets import QDialogButtonBox
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..widgets.dialogs import AssetCreationDialog from ..widgets.dialogs import AssetCreationDialog
......
...@@ -33,7 +33,7 @@ from PyQt5.QtWidgets import QPushButton ...@@ -33,7 +33,7 @@ from PyQt5.QtWidgets import QPushButton
from ..widgets.editor import AbstractAssetEditor from ..widgets.editor import AbstractAssetEditor
from ..widgets.field import FieldWidget from ..widgets.field import FieldWidget
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
class MockAssetEditor(AbstractAssetEditor): class MockAssetEditor(AbstractAssetEditor):
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# # # #
############################################################################### ###############################################################################
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
...@@ -52,7 +52,7 @@ from PyQt5.QtWidgets import QWidget ...@@ -52,7 +52,7 @@ from PyQt5.QtWidgets import QWidget
from beat.core.protocoltemplate import ProtocolTemplate from beat.core.protocoltemplate import ProtocolTemplate
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from ..utils import is_Qt_equal_or_higher from ..utils import is_Qt_equal_or_higher
......
...@@ -43,7 +43,7 @@ from PyQt5.QtWidgets import QWidget ...@@ -43,7 +43,7 @@ from PyQt5.QtWidgets import QWidget
from ..utils import frozen from ..utils import frozen
from ..utils import dataformat_basetypes from ..utils import dataformat_basetypes
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from .scrollwidget import ScrollWidget from .scrollwidget import ScrollWidget
......
...@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import QLineEdit ...@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QRadioButton from PyQt5.QtWidgets import QRadioButton
from PyQt5.QtWidgets import QVBoxLayout from PyQt5.QtWidgets import QVBoxLayout
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from ..utils import dataformat_basetypes from ..utils import dataformat_basetypes
......
...@@ -38,7 +38,7 @@ from PyQt5.QtWidgets import QMessageBox ...@@ -38,7 +38,7 @@ from PyQt5.QtWidgets import QMessageBox
from PyQt5.QtWidgets import QWidget from PyQt5.QtWidgets import QWidget
from PyQt5.QtWidgets import QVBoxLayout from PyQt5.QtWidgets import QVBoxLayout
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from .dialogs import AssetCreationDialog from .dialogs import AssetCreationDialog
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# # # #
############################################################################### ###############################################################################
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
from ..utils import frozen from ..utils import frozen
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# # # #
############################################################################### ###############################################################################
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# # # #
############################################################################### ###############################################################################
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
...@@ -42,7 +42,7 @@ from PyQt5.QtWidgets import QWidget ...@@ -42,7 +42,7 @@ from PyQt5.QtWidgets import QWidget
from ..utils import frozen from ..utils import frozen
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from .scrollwidget import ScrollWidget from .scrollwidget import ScrollWidget
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# # # #
############################################################################### ###############################################################################
from ..backend.assetmodel import AssetType from ..backend.asset import AssetType
from ..utils import frozen from ..utils import frozen
from .editor import AbstractAssetEditor from .editor import AbstractAssetEditor
......
Supports Markdown
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