move web server to loopback by default

This commit is contained in:
2021-08-11 02:02:18 +03:00
parent 50af309c80
commit db52b8e844
3 changed files with 4 additions and 4 deletions

View File

@ -39,5 +39,5 @@ def test_run(application: web.Application, mocker: MockerFixture) -> None:
run_application_mock = mocker.patch("aiohttp.web.run_app")
run_server(application)
run_application_mock.assert_called_with(application, host="0.0.0.0", port=port,
run_application_mock.assert_called_with(application, host="127.0.0.1", port=port,
handle_signals=False, access_log=pytest.helpers.anyvar(int))