MCPcopy
hub / github.com/WebODM/WebODM / test_auto_update_node_info

Method test_auto_update_node_info

nodeodm/tests.py:79–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 self.assertTrue(offline_node.api_version == "", "API version is not set")
78
79 def test_auto_update_node_info(self):
80 with start_processing_node():
81 online_node = ProcessingNode.objects.create(hostname="localhost", port=11223)
82 self.assertTrue(online_node.last_refreshed != None, "Last refreshed info is here (update_node_info() was called)")
83
84 def test_client_api_and_task_methods(self):
85 def wait_for_status(api, uuid, status, num_retries = 10, error_description = "Failed to wait for status"):

Callers

nothing calls this directly

Calls 2

start_processing_nodeFunction · 0.90
createMethod · 0.45

Tested by

no test coverage detected