Remove faulty test cleanup

This commit is contained in:
Matthias 2022-10-02 08:37:37 +02:00
parent 9bb061073d
commit e686faf1bc
1 changed files with 1 additions and 1 deletions

View File

@ -212,10 +212,10 @@ async def test_emc_create_connection_invalid_port(default_conf, caplog, mocker):
emc = ExternalMessageConsumer(default_conf, dp)
try:
emc._running = True
await emc._create_connection(emc.producers[0], asyncio.Lock())
assert log_has_re(r".+ is an invalid WebSocket URL .+", caplog)
finally:
emc._running = False
emc.shutdown()