From 85c849b53c56b0a78623fd61cebc9faaee0f41b7 Mon Sep 17 00:00:00 2001 From: jackwener <30525741+jackwener@users.noreply.github.com> Date: Wed, 12 Jan 2022 15:30:34 +0800 Subject: [PATCH] pytest --- tests/admin/test_show_hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin/test_show_hosts.py b/tests/admin/test_show_hosts.py index a3ad3bf243a..49fe6e465e7 100644 --- a/tests/admin/test_show_hosts.py +++ b/tests/admin/test_show_hosts.py @@ -34,7 +34,7 @@ def test_show_hosts(self): re.compile(r'\d+'), re.compile(r'No valid partition|(\S+:\d+, )*\S+:\d+'), re.compile(r'No valid partition|(\S+:\d+, )*\S+:\d+'), - re.compile(r'\S+')]] + re.compile(r'(^$)|(v\d+\.\d+\.\d+)')]] resp = self.execute(query) self.check_resp_succeeded(resp) self.check_column_names(resp, expected_column_names)