diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed7e959f8648a1389116e96b420884063cf21dfc..05f003eca71090f8574e469f448bb8d838fd62c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -81,7 +81,7 @@ style:
     - ruff .
     - black --check --diff .
     - pydocstyle mpsd-software.py
-    - pydocstyle tests.py
+    - pydocstyle test_mpsd-software.py
     # we could also use `ruff --select D` for pycodestyle. But the behaviour is not exactly the same.
     - ./mpsd-software.py --version
 
@@ -91,12 +91,12 @@ test-bullseye:
   image: debian:bullseye-slim
   script:
     - *prepare_debian
-    - pytest -v -l tests.py
+    - pytest -v -l test_mpsd-software.py
 
 test-bookworm:
   stage: test
   image: debian:bookworm-slim
   script:
     - *prepare_debian
-    - pytest -v -l tests.py
+    - pytest -v -l test_mpsd-software.py
 
diff --git a/tests.py b/test_mpsd-software.py
similarity index 100%
rename from tests.py
rename to test_mpsd-software.py