From e2bdeee2376cf05aec0a3d5aa94fb15458cf1e08 Mon Sep 17 00:00:00 2001 From: HgO Date: Mon, 8 Aug 2022 18:58:08 +0200 Subject: [PATCH] fix alertmanager tests --- .dockerignore | 3 +++ tests/test_alertmanager.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index e70438f..913ec0d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,3 +13,6 @@ __pycache__/ *.egg-info/ build/ dist/ + +# Storage +data/ diff --git a/tests/test_alertmanager.py b/tests/test_alertmanager.py index 0e27f6a..f3987d3 100644 --- a/tests/test_alertmanager.py +++ b/tests/test_alertmanager.py @@ -85,7 +85,7 @@ class AbstractFakeAlertmanagerServer: 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() async def stop(self) -> None: