diff --git a/tests/pytest/insert/basic.py b/tests/pytest/insert/basic.py index e8698e9d0502eb6ef3e335daefdd9bf9854c30da..35f830d951d4e6d7ec14eb2a1f5d4b34d0b98b71 100644 --- a/tests/pytest/insert/basic.py +++ b/tests/pytest/insert/basic.py @@ -12,7 +12,6 @@ # -*- coding: utf-8 -*- import sys -import taos from util.log import * from util.cases import * from util.sql import * diff --git a/tests/pytest/insert/float.py b/tests/pytest/insert/float.py index 7c4474f7ad0be25da8ec0622061654ea620e0219..30d7e223f18abea7d6c26ad87c63833572a2b248 100644 --- a/tests/pytest/insert/float.py +++ b/tests/pytest/insert/float.py @@ -13,9 +13,6 @@ import sys import datetime - -import taos - from util.log import * from util.cases import * from util.sql import * diff --git a/tests/pytest/insert/int.py b/tests/pytest/insert/int.py index 8d38337576ccb78bd22155697b5d19c3655c11a1..d007cc56ea21d3b8c8fec5527e166e60cfe56cc0 100644 --- a/tests/pytest/insert/int.py +++ b/tests/pytest/insert/int.py @@ -12,7 +12,6 @@ # -*- coding: utf-8 -*- import sys -import taos import datetime from util.log import * diff --git a/tests/pytest/util/cases.py b/tests/pytest/util/cases.py index 1771c23620dbe547733e8c2ce317bd38961a87d3..9a4f0fc98a88dc87ff3521d666052e765669b0ae 100644 --- a/tests/pytest/util/cases.py +++ b/tests/pytest/util/cases.py @@ -71,7 +71,7 @@ class TDCases: case.run() except Exception as e: tdLog.notice(repr(e)) - tdLog.notice("%s failed: %s" % (__file__, fileName)) + tdLog.exit("%s failed: %s" % (__file__, fileName)) case.stop() runNum += 1 continue