Commit be3508b3 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][editors] Fix MockAssetEditor initialization

parent 6de448ff
......@@ -32,6 +32,7 @@ from PyQt5.QtWidgets import QPushButton
from ..widgets.editor import AbstractAssetEditor
from ..widgets.field import FieldWidget
from ..backend.assetmodel import AssetType
class MockAssetEditor(AbstractAssetEditor):
......@@ -40,7 +41,7 @@ class MockAssetEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(MockAssetEditor, self).__init__(parent)
super(MockAssetEditor, self).__init__(AssetType.UNKNOWN, parent)
self.dataformat_model = None
self.add_field_button = QPushButton("Add"))
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