From dd347dd8fbb9aa3fa777e358ee71cba56038ecae Mon Sep 17 00:00:00 2001 From: Dmitry Anurin Date: Wed, 11 Oct 2023 11:10:58 +0300 Subject: [PATCH] Added unit to logs getter Signed-off-by: Dmitry Anurin --- src/frostfs_testlib/hosting/docker_host.py | 1 + src/frostfs_testlib/hosting/interfaces.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/frostfs_testlib/hosting/docker_host.py b/src/frostfs_testlib/hosting/docker_host.py index e2bc949..ffc2082 100644 --- a/src/frostfs_testlib/hosting/docker_host.py +++ b/src/frostfs_testlib/hosting/docker_host.py @@ -217,6 +217,7 @@ class DockerHost(Host): message_regex: str, since: Optional[datetime] = None, until: Optional[datetime] = None, + unit: Optional[str] = None, ) -> bool: client = self._get_docker_client() for service_config in self._config.services: diff --git a/src/frostfs_testlib/hosting/interfaces.py b/src/frostfs_testlib/hosting/interfaces.py index b4f67fb..48344cc 100644 --- a/src/frostfs_testlib/hosting/interfaces.py +++ b/src/frostfs_testlib/hosting/interfaces.py @@ -257,6 +257,7 @@ class Host(ABC): message_regex: str, since: Optional[datetime] = None, until: Optional[datetime] = None, + unit: Optional[str] = None, ) -> bool: """Checks logs on host for specified message regex.