diff --git a/.github/workflows/pdr_plugin_ci_workflow.yml b/.github/workflows/pdr_plugin_ci_workflow.yml index 5f044bd3d..c061b16ed 100644 --- a/.github/workflows/pdr_plugin_ci_workflow.yml +++ b/.github/workflows/pdr_plugin_ci_workflow.yml @@ -30,14 +30,14 @@ jobs: run: pylint --rcfile=plugins/pdr_deterministic_plugin/.pylintrc plugins/pdr_deterministic_plugin - name: Run exclusion list class test - run: pytest -s plugins/pdr_deterministic_plugin/tests/exclude_list_class_tests.py --cov=plugins/pdr_deterministic_plugin/ufm_sim_web_service/exclude_list.py + run: pytest -s plugins/pdr_deterministic_plugin/tests/exclude_list_class_tests.py --cov=plugins/pdr_deterministic_plugin - name: Test exclusion list REST API run: | sudo bash plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh echo "Test exclusion list REST API methods" sleep 10 - pytest -s plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py --cov=plugins/pdr_deterministic_plugin/ufm_sim_web_service/api/pdr_plugin_api.py + pytest -s plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py --cov=plugins/pdr_deterministic_plugin echo "Terminating standalone PDR process" pkill -9 -f isolation_algo.py 2>/dev/null || true diff --git a/plugins/pdr_deterministic_plugin/requirements.txt b/plugins/pdr_deterministic_plugin/requirements.txt index 960e6018b..cf712dea9 100644 --- a/plugins/pdr_deterministic_plugin/requirements.txt +++ b/plugins/pdr_deterministic_plugin/requirements.txt @@ -2,9 +2,8 @@ flask<=3.0.3 numpy<=1.26.4 pandas<=2.2.2 pytest<=8.2.0 -pytest-cov requests<=2.31.0 twisted<=22.1.0 -flask-restful<=0.3.10 +flask_restful<=0.3.10 tzlocal<=4.2 jsonschema<=4.5.1