fix alertmanager tests

This commit is contained in:
HgO 2022-08-08 18:58:08 +02:00
parent 1e0470ce93
commit e2bdeee237
2 changed files with 4 additions and 1 deletions

View file

@ -13,3 +13,6 @@ __pycache__/
*.egg-info/ *.egg-info/
build/ build/
dist/ dist/
# Storage
data/

View file

@ -85,7 +85,7 @@ class AbstractFakeAlertmanagerServer:
await self.runner.setup() await self.runner.setup()
site = web.TCPSite(self.runner, "localhost", self.port) site = web.TCPSite(self.runner, "127.0.0.1", self.port)
await site.start() await site.start()
async def stop(self) -> None: async def stop(self) -> None: