def test_check_whitelist_accepts_name_port_match():
    assert (True == tornado.check_whitelist('foo:100', ['foo:100', 'baz:100']))
def test_check_whitelist_accepts_name_port_match():
    assert (True == tornado.check_whitelist('foo:100', ['foo:100', 'baz:100']))