eugeniy / pytest-tornado

A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Apache License 2.0
121 stars 34 forks source link

How can i use a subdomain for my tests #65

Open jonthdiaz opened 3 years ago

jonthdiaz commented 3 years ago

Hello...

I want to use some like

    response = yield http_client.fetch(
        "http://pytest.localhost:port/login/",
        method="POST",
        headers=basic_headers,
        body="",
        raise_error=False,
    )

but when run the test I got: [Errno -2] Name or service not known