mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
STAR-322: Fixing tests
This commit is contained in:
parent
9eb743bcb8
commit
87c1392173
2 changed files with 8 additions and 4 deletions
|
@ -41,7 +41,7 @@ class TestCloudOutputDeviceManager(TestCase):
|
|||
clusters = self.clusters_response.get("data", [])
|
||||
self.assertEqual([CloudOutputDevice] * len(clusters), [type(d) for d in devices])
|
||||
self.assertEqual({cluster["cluster_id"] for cluster in clusters}, {device.key for device in devices})
|
||||
self.assertEqual({cluster["host_name"] for cluster in clusters}, {device.host_name for device in devices})
|
||||
self.assertEqual(clusters, [device.clusterData.toDict() for device in devices])
|
||||
|
||||
for device in clusters:
|
||||
device_manager.getOutputDevice(device["cluster_id"]).close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue