fix: drop debug toolbar

This commit is contained in:
2023-12-20 15:44:38 +02:00
parent a872ecfc23
commit 1b93f4f5e0
11 changed files with 2 additions and 56 deletions

View File

@ -122,22 +122,6 @@ def test_run_with_auth(application_with_auth: Application, mocker: MockerFixture
)
@pytest.mark.skip(reason="https://github.com/aio-libs/aiohttp-debugtoolbar/issues/477")
def test_run_with_debug(application_with_debug: Application, mocker: MockerFixture) -> None:
"""
must run application with enabled debug panel
"""
port = 8080
application_with_debug["configuration"].set_option("web", "port", str(port))
run_application_mock = mocker.patch("ahriman.web.web.run_app")
run_server(application_with_debug)
run_application_mock.assert_called_once_with(
application_with_debug, host="127.0.0.1", port=port, sock=None, handle_signals=True,
access_log=pytest.helpers.anyvar(int), access_log_class=FilteredAccessLogger
)
def test_run_with_socket(application: Application, mocker: MockerFixture) -> None:
"""
must run application

View File

@ -112,9 +112,6 @@ username = arcan1s
[remote-service]
[web]
debug = no
debug_check_host = no
debug_allowed_hosts =
enable_archive_upload = yes
host = 127.0.0.1
static_path = ../web/templates/static