diff --git a/test/cases/24-Users/test_user_token.py b/test/cases/24-Users/test_user_token.py index c64e6e844fa0..30c2ffb205c1 100644 --- a/test/cases/24-Users/test_user_token.py +++ b/test/cases/24-Users/test_user_token.py @@ -115,7 +115,7 @@ def login_token(self, token, options=""): ] # arg - command = f"{taosFile} -q{token} {options} -s 'show tokens;' " + command = f'{taosFile} -q{token} {options} -s "show tokens;" ' rlist = etool.runRetList(command, checkRun=True, show= True) self.checkManyString(rlist, success) @@ -125,7 +125,7 @@ def login_token_fail(self, token, options=""): failed = "Connect with token ...... [ FAILED ]" # arg - command = f"{taosFile} -q{token} {options} -s 'show tokens;' " + command = f'{taosFile} -q{token} {options} -s "show tokens;" ' rlist = etool.runRetList(command, checkRun=False, show= True) self.checkManyString(rlist, failed)