From 05d592e58389c6a634b024f46edb4905b2f4380f Mon Sep 17 00:00:00 2001 From: mkadilov Date: Wed, 6 Dec 2023 12:13:27 +0300 Subject: [PATCH] [#166] Fixed arguments order in get_filtered_logs Fixed arguments order in get_filtered_logs Signed-off-by: Mikhail Kadilov --- pytest_tests/testsuites/special/test_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/special/test_logs.py b/pytest_tests/testsuites/special/test_logs.py index d39f7501..a29b8a5d 100644 --- a/pytest_tests/testsuites/special/test_logs.py +++ b/pytest_tests/testsuites/special/test_logs.py @@ -54,7 +54,7 @@ class TestLogs: def _collect_logs_on_host(self, host: Host, logs_dir: str, regex: str, since: datetime, until: datetime, exclude_filter: str): with reporter.step(f"Get logs from {host.config.address}"): - logs = host.get_filtered_logs(regex, since, until, exclude_filter) + logs = host.get_filtered_logs(filter_regex=regex, since=since, until=until, exclude_filter=exclude_filter) if not logs: return None