Fix/ CI failing tests
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
All of the tests are failing for pycalibration at the moment. After overwriting test CALCAT with production CALCAT.
This is due to updating CALCAT test with CALCAT production. Which resulted in changing the history of the creation of the PHYSICAL_DETECTOR_UNIT-1_DO_NOT_DELETE
This MR updates the PDUs used for test with new test PDUs for the CAL CI tests which has been added in production and CALCAT. With this solution these PDUs will copied as the rest with the next resynchronizations.
(cal_venv) [ahmedk@max-exfl001]~/calibration/pycalibration/webservice% pytest ../tests/test_cal_tools.py
=========================================================================================== test session starts ============================================================================================
platform linux -- Python 3.6.7, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/ahmedk/calibration/pycalibration, configfile: pyproject.toml
plugins: mock-3.5.1, cov-2.11.1, subprocess-1.1.0, asyncio-0.14.0
collected 5 items
../tests/test_cal_tools.py .s.s. [100%]
============================================================================================= warnings summary =============================================================================================
../../cal_venv/lib/python3.6/site-packages/notebook/notebookapp.py:52
/home/ahmedk/calibration/cal_venv/lib/python3.6/site-packages/notebook/notebookapp.py:52: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
ioloop.install()
-- Docs: https://docs.pytest.org/en/stable/warnings.html
================================================================================= 3 passed, 2 skipped, 1 warning in 3.22s ==================================================================================
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.