mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Fixed the unit tests
This commit is contained in:
parent
9d27c29c8c
commit
131211e604
1 changed files with 9 additions and 3 deletions
|
@ -76,11 +76,17 @@ class CloudClusterPrintJobStatus(BaseCloudModel):
|
|||
self.uuid = uuid
|
||||
self.deleted_at = deleted_at
|
||||
self.printed_on_uuid = printed_on_uuid
|
||||
self.configuration_changes_required = self.parseModels(CloudClusterPrintJobConfigurationChange,
|
||||
configuration_changes_required)
|
||||
if configuration_changes_required:
|
||||
self.configuration_changes_required = self.parseModels(CloudClusterPrintJobConfigurationChange,
|
||||
configuration_changes_required)
|
||||
else:
|
||||
self.configuration_changes_required = []
|
||||
self.build_plate = self.parseModel(CloudClusterBuildPlate, build_plate)
|
||||
self.compatible_machine_families = compatible_machine_families
|
||||
self.impediments_to_printing = self.parseModels(CloudClusterPrintJobImpediment, impediments_to_printing)
|
||||
if impediments_to_printing:
|
||||
self.impediments_to_printing = self.parseModels(CloudClusterPrintJobImpediment, impediments_to_printing)
|
||||
else:
|
||||
self.impediments_to_printing = []
|
||||
|
||||
super().__init__(**kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue