From 57b9ca3b6ac2ab3860b26236ec18a374356e8142 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Fri, 28 Feb 2025 15:57:29 +0800 Subject: [PATCH] refactor: reorganize import statements in test.py for clarity --- tests/test_new/test.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/test_new/test.py b/tests/test_new/test.py index 5a77551045..52b466c130 100644 --- a/tests/test_new/test.py +++ b/tests/test_new/test.py @@ -13,15 +13,6 @@ # pip install src/connector/python/ # -*- coding: utf-8 -*- -import taosws -import taosrest -import taos -from util.taosadapter import * -from util.cluster import * -from util.cases import * -from util.dnodes import * -from util.log import * -import toml import os import sys import getopt @@ -33,11 +24,20 @@ import platform import socket import threading import importlib -import ast print(f"Python version: {sys.version}") print(f"Version info: {sys.version_info}") +import toml sys.path.append("../pytest") +from util.log import * +from util.dnodes import * +from util.cases import * +from util.cluster import * +from util.taosadapter import * + +import taos +import taosrest +import taosws def checkRunTimeError():