diff --git a/lib/esbonio/tests/sphinx-default/test_sd_sphinx.py b/lib/esbonio/tests/sphinx-default/test_sd_sphinx.py index f13fb469b..120ac4707 100644 --- a/lib/esbonio/tests/sphinx-default/test_sd_sphinx.py +++ b/lib/esbonio/tests/sphinx-default/test_sd_sphinx.py @@ -294,9 +294,7 @@ async def test_initialization( # Test some default behaviours. assert len(client.messages) == 0 assert len(client.log_messages) > 0 - assert not any( - [log.message.startswith("[app]") for log in client.log_messages] - ) + assert not any([log.message.startswith("[app]") for log in client.log_messages]) assert "sphinx" in configuration actual = converter.structure(configuration["sphinx"], SphinxConfig) @@ -658,7 +656,7 @@ async def test_initialization_missing_conf(): server_command=[sys.executable, "-m", "esbonio"], ) - client= await config.start() + client = await config.start() try: await client.initialize_session( @@ -725,9 +723,7 @@ async def test_initialization_verbosity(converter): assert actual.version is not None assert actual.verbosity == 2 - assert any( - [log.message.startswith("[app]") for log in client.log_messages] - ) + assert any([log.message.startswith("[app]") for log in client.log_messages]) finally: await client.shutdown_session()