MCPcopy Create free account
hub / github.com/ceph/ceph / test_valid_addr

Function test_valid_addr

src/python-common/ceph/tests/test_utils.py:71–75  ·  view source on GitHub ↗
(addr_object: Address)

Source from the content-addressed store, hash-verified

69 Address('[fe80::7561:c8fb:d3d7:1fa4]:DOH', False, 'Port must be numeric')
70])
71def test_valid_addr(addr_object: Address):
72
73 valid, description = valid_addr(addr_object.addr)
74 assert valid == addr_object.status
75 assert description == addr_object.description

Callers

nothing calls this directly

Calls 1

valid_addrFunction · 0.90

Tested by

no test coverage detected