From 4aa9099067ba62110d4db0dcdf63ad9c57c3a59b Mon Sep 17 00:00:00 2001 From: chalsliu <45041955+chalsliu@users.noreply.github.com> Date: Wed, 27 May 2020 20:30:00 +0800 Subject: [PATCH] Fix error msg to match check_api_approvals.sh (#24777) test=develop test=document_fix --- tools/check_ut.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/check_ut.py b/tools/check_ut.py index 6e507d6543..7b5e5a4f1c 100644 --- a/tools/check_ut.py +++ b/tools/check_ut.py @@ -28,7 +28,7 @@ class PRChecker(object): self.repo = None def check(self): - """ check pr """ + """ check pr. """ filename = 'block.txt' pr_id = os.getenv('GIT_PR_ID') if not pr_id: @@ -44,7 +44,8 @@ class PRChecker(object): with open(filename) as f: for l in f: if l.rstrip('\r\n') == user: - print('{} has UT to be fixed, so CI failed.'.format(user)) + print('{} has unit-test to be fixed, so CI failed.'.format( + user)) exit(1) exit(0) -- GitLab