Add some tests for DFProjectModel

CURA-7959
This commit is contained in:
Jaime van Kessel 2021-04-26 14:08:10 +02:00
parent 7979483e48
commit 29f62b0579
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 61 additions and 1 deletions

View file

@ -21,7 +21,7 @@ class DigitalFactoryProjectModel(ListModel):
dfProjectModelChanged = pyqtSignal()
def __init__(self, parent = None):
def __init__(self, parent = None) -> None:
super().__init__(parent)
self.addRoleName(self.DisplayNameRole, "displayName")
self.addRoleName(self.LibraryProjectIdRole, "libraryProjectId")