Fix UM3NetworkPrinting test

Contributes to CL-1266
This commit is contained in:
Ian Paschal 2019-03-28 16:20:01 +01:00
parent 49cb3de562
commit 4581c1f138
3 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,7 @@
"host_guid": "e90ae0ac-1257-4403-91ee-a44c9b7e8050",
"host_name": "ultimakersystem-ccbdd30044ec",
"host_version": "5.0.0.20170101",
"host_internal_ip": "",
"is_online": true,
"status": "active"
}, {
@ -11,6 +12,7 @@
"host_guid": "e0ace90a-91ee-1257-4403-e8050a44c9b7",
"host_name": "ultimakersystem-30044ecccbdd",
"host_version": "5.1.2.20180807",
"host_internal_ip": "",
"is_online": true,
"status": "active"
}]

View file

@ -97,7 +97,7 @@ class TestCloudOutputDeviceManager(TestCase):
self.assertTrue(self.device_manager.getOutputDevice(cluster1["cluster_id"]).isConnected())
self.assertIsNone(self.device_manager.getOutputDevice(cluster2["cluster_id"]))
self.assertEquals([], active_machine_mock.setMetaDataEntry.mock_calls)
self.assertEqual([], active_machine_mock.setMetaDataEntry.mock_calls)
def test_device_connects_by_network_key(self):
active_machine_mock = self.app.getGlobalContainerStack.return_value