mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 16:32:35 +08:00
Start moving ray internal files to _private module (#10994)
This commit is contained in:
@@ -630,7 +630,7 @@ def test_get_correct_node_ip():
|
||||
node_mock = MagicMock()
|
||||
node_mock.node_ip_address = "10.0.0.111"
|
||||
worker_mock._global_node = node_mock
|
||||
found_ip = ray.services.get_node_ip_address()
|
||||
found_ip = ray._private.services.get_node_ip_address()
|
||||
assert found_ip == "10.0.0.111"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user