def test_where_is(): serve.start() assert serve.where_is("/") == serve.servers["http"][1].get_url("/") assert serve.where_is("/", on="https") == serve.servers["https"][1].get_url("/")