diff --git a/csp-lmc-mid/.make/k8s.mk b/csp-lmc-mid/.make/k8s.mk
index 71c7b395acb85db5dbc5dfdc2f74a1b98ca49a32..2d8834390ebfcfa93a3ca00b905ba88e58bdcd36 100644
--- a/csp-lmc-mid/.make/k8s.mk
+++ b/csp-lmc-mid/.make/k8s.mk
@@ -229,7 +229,7 @@ k8s_test = tar -c . | \
 		--image-pull-policy=IfNotPresent \
 		--image=$(IMAGE_TO_TEST) -- \
 		/bin/bash -c "tar xv --strip-components 1 --warning=all && \
-		python3 -m pip install . &&\
+		python3 -m pip install -r requirements-tst.txt . && \
 		cd test-harness &&\
 		make TANGO_HOST=$(TANGO_HOST) $1 && \
 		tar -czvf /tmp/build.tgz build && \
diff --git a/csp-lmc-mid/requirements-tst.txt b/csp-lmc-mid/requirements-tst.txt
index 67c373bcd3793c3ec93885ff62ecd7ce775c1619..147dc97f664e90abf15bb05767b25c50f9d8ba1d 100644
--- a/csp-lmc-mid/requirements-tst.txt
+++ b/csp-lmc-mid/requirements-tst.txt
@@ -3,7 +3,8 @@ pytest-bdd
 pytest-cov
 pytest-json-report
 pytest-mock
-#pytest-xdist == 1.34.0
+pytest-forked
 pycodestyle
 coverage
 mock
+assertpy
diff --git a/csp-lmc-mid/setup.cfg b/csp-lmc-mid/setup.cfg
index d7e22e16a99e6cb4645257562dec1326243901a2..4113b6db2ec86aef38e9cd6dc9bc2c6be825b323 100644
--- a/csp-lmc-mid/setup.cfg
+++ b/csp-lmc-mid/setup.cfg
@@ -14,12 +14,8 @@ source = csp-lmc-mid
 
 [tool:pytest]
 testpaths = tests
-log_cli = True
-log_cli_level = INFO
-log_file = pytest-logs.txt
-log_file_level = INFO
 addopts = --forked
-	  --verbose
+          --verbose
 	  --cov=csp_lmc_mid
           --json-report
           --json-report-file=htmlcov/report.json 
diff --git a/csp-lmc-mid/test-harness/Makefile b/csp-lmc-mid/test-harness/Makefile
index 60db74e1cb46ae09cc74e5ab967fb6f24a9728ea..bb172a34963f4e093e8c1064c426278997cfef64 100644
--- a/csp-lmc-mid/test-harness/Makefile
+++ b/csp-lmc-mid/test-harness/Makefile
@@ -17,7 +17,7 @@ test:
 	retry --max=15 -- tango_admin --ping-device mid_csp/elt/master
 	retry --max=15 -- tango_admin --ping-device mid_csp/elt/subarray_01
 	retry --max=15 -- tango_admin --ping-device mid_csp/elt/subarray_02
-	cd /app && python3 setup.py test| tee integration-test.stdout 
+	cd /app &&  pytest tests| tee integration-test.stdout 
 	mkdir -p build/reports && \
 	if [ -d build ]; then \
                 mv /app/integration-test.stdout ./build/csp-lmc-mid-setup-test.stdout; \