mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
Tests: Removed python circular import dependency and added empty containers
CURA-4687
This commit is contained in:
parent
497bc756b7
commit
2c18127cc1
4 changed files with 121 additions and 34 deletions
|
@ -377,7 +377,7 @@ class CuraContainerStack(ContainerStack):
|
|||
if not container or not isinstance(container, DefinitionContainer):
|
||||
definition = self.findContainer(container_type = DefinitionContainer)
|
||||
if not definition:
|
||||
raise InvalidContainerStackError("Stack {id} does not have a definition!".format(id = self._id))
|
||||
raise InvalidContainerStackError("Stack {id} does not have a definition!".format(id = self.getId()))
|
||||
|
||||
new_containers[index] = definition
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue