diff --git a/testcases/conftest.py b/testcases/conftest.py index c3f461a..4ed6f72 100755 --- a/testcases/conftest.py +++ b/testcases/conftest.py @@ -3,8 +3,8 @@ from _pytest import terminal import os import pytest import sys -from commons.check import Check -from commons.logger_ext import Logger +from pawpaw_ci_test_framework.check import Check +from pawpaw_ci_test_framework.logger_ext import Logger # 获取当前文件的绝对路径 diff --git a/testcases/main.py b/testcases/main.py index d348c27..4a277d9 100644 --- a/testcases/main.py +++ b/testcases/main.py @@ -1,6 +1,6 @@ import os import pytest -from commons.operate_log import OperateLog +from pawpaw_ci_test_framework.operate_log import OperateLog if __name__ == "__main__": diff --git a/testcases/test_api/app_test_HSV_to_RGB/test_app_test_HSV_to_RGB.py b/testcases/test_api/app_test_HSV_to_RGB/test_app_test_HSV_to_RGB.py index d622662..2e6a4b6 100644 --- a/testcases/test_api/app_test_HSV_to_RGB/test_app_test_HSV_to_RGB.py +++ b/testcases/test_api/app_test_HSV_to_RGB/test_app_test_HSV_to_RGB.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_api/app_test_vol_to_level/test_app_test_vol_to_level.py b/testcases/test_api/app_test_vol_to_level/test_app_test_vol_to_level.py index ded41c9..b0adff5 100644 --- a/testcases/test_api/app_test_vol_to_level/test_app_test_vol_to_level.py +++ b/testcases/test_api/app_test_vol_to_level/test_app_test_vol_to_level.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_cycleHSV_vol_level_example/test_app_cycleHSV_vol_level_example.py b/testcases/test_function/app_cycleHSV_vol_level_example/test_app_cycleHSV_vol_level_example.py index 95340f8..485e652 100644 --- a/testcases/test_function/app_cycleHSV_vol_level_example/test_app_cycleHSV_vol_level_example.py +++ b/testcases/test_function/app_cycleHSV_vol_level_example/test_app_cycleHSV_vol_level_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_cycleHSV_vol_level_smooth_example/test_app_cycleHSV_vol_level_smooth_example.py b/testcases/test_function/app_cycleHSV_vol_level_smooth_example/test_app_cycleHSV_vol_level_smooth_example.py index 314a3db..a26f129 100644 --- a/testcases/test_function/app_cycleHSV_vol_level_smooth_example/test_app_cycleHSV_vol_level_smooth_example.py +++ b/testcases/test_function/app_cycleHSV_vol_level_smooth_example/test_app_cycleHSV_vol_level_smooth_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_hsv_cycle_example/test_app_hsv_cycle_example.py b/testcases/test_function/app_hsv_cycle_example/test_app_hsv_cycle_example.py index a79f856..f7ae1a4 100644 --- a/testcases/test_function/app_hsv_cycle_example/test_app_hsv_cycle_example.py +++ b/testcases/test_function/app_hsv_cycle_example/test_app_hsv_cycle_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_hsv_cycle_per_rgb_example/test_app_hsv_cycle_per_rgb_example.py b/testcases/test_function/app_hsv_cycle_per_rgb_example/test_app_hsv_cycle_per_rgb_example.py index 46ccf3d..a5bcd72 100644 --- a/testcases/test_function/app_hsv_cycle_per_rgb_example/test_app_hsv_cycle_per_rgb_example.py +++ b/testcases/test_function/app_hsv_cycle_per_rgb_example/test_app_hsv_cycle_per_rgb_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_rgb_cycle_breathing_example/test_app_rgb_cycle_breathing_example.py b/testcases/test_function/app_rgb_cycle_breathing_example/test_app_rgb_cycle_breathing_example.py index 561c8e3..4e13136 100644 --- a/testcases/test_function/app_rgb_cycle_breathing_example/test_app_rgb_cycle_breathing_example.py +++ b/testcases/test_function/app_rgb_cycle_breathing_example/test_app_rgb_cycle_breathing_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_test_config_rgb_port/test_app_test_config_rgb_port.py b/testcases/test_function/app_test_config_rgb_port/test_app_test_config_rgb_port.py index b7539fa..1a7730a 100644 --- a/testcases/test_function/app_test_config_rgb_port/test_app_test_config_rgb_port.py +++ b/testcases/test_function/app_test_config_rgb_port/test_app_test_config_rgb_port.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_test_fill_gradient_with_groups/test_app_test_fill_gradient_with_groups.py b/testcases/test_function/app_test_fill_gradient_with_groups/test_app_test_fill_gradient_with_groups.py index 263fbc7..53c3bfd 100644 --- a/testcases/test_function/app_test_fill_gradient_with_groups/test_app_test_fill_gradient_with_groups.py +++ b/testcases/test_function/app_test_fill_gradient_with_groups/test_app_test_fill_gradient_with_groups.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check") diff --git a/testcases/test_function/app_vol_level_smooth_example/test_app_vol_level_smooth_example.py b/testcases/test_function/app_vol_level_smooth_example/test_app_vol_level_smooth_example.py index 7adb659..69b5528 100644 --- a/testcases/test_function/app_vol_level_smooth_example/test_app_vol_level_smooth_example.py +++ b/testcases/test_function/app_vol_level_smooth_example/test_app_vol_level_smooth_example.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import os -from commons.pyxrun import XMakeRun +from pawpaw_ci_test_framework.pyxrun import XMakeRun @pytest.mark.usefixtures("get_logger_check")