def test_make_empty_endpoints(): hostname = 'aurora.example.com' portmap = {} primary_port = 'http' # test no bound 'http' port primary, additional = make_endpoints(hostname, portmap, primary_port) assert primary == Endpoint(hostname, 0) assert additional == {}