diff --git a/tests/pytest/client/client.py b/tests/pytest/client/client.py index b3a93bd3639d4ad49d80144204ec0bbd531bc4be..21df7e6a86b83287a9a6d740c8b7a9dbe260b597 100644 --- a/tests/pytest/client/client.py +++ b/tests/pytest/client/client.py @@ -26,9 +26,20 @@ class TDTestCase: tdSql.prepare() ret = tdSql.query('select database()') - tdSql.checkData(0, 0, "db") + ret = tdSql.query('select server_version()') + tdSql.checkData(0, 0, "2.0.0.0") + + ret = tdSql.query('select client_version()') + tdSql.checkData(0, 0, "2.0.0.0") + + ret = tdSql.query('select server_status()') + tdSql.checkData(0, 0, 1) + + ret = tdSql.query('select server_status() as result') + tdSql.checkData(0, 0, 1) + def stop(self): tdSql.close() tdLog.success("%s successfully executed" % __file__)