From 37589c32d32925948f68674ff036f37e7bfe3233 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Nov 05 2020 15:17:17 +0000 Subject: Update README Remove old test options and add how the tests should be run now. Signed-off-by: Michal Konečný --- diff --git a/README.rst b/README.rst index 63d1c62..2a2a7b5 100644 --- a/README.rst +++ b/README.rst @@ -239,7 +239,6 @@ Manually This will launch the application at http://127.0.0.1:5000 - * To run unit-tests on pagure * Install the dependencies:: @@ -248,16 +247,12 @@ This will launch the application at http://127.0.0.1:5000 * Run it:: - python runtests.py run - - You may use:: - - python runtests.py --help - - to check other options supported or read the source code ;-) + pytest tests/ .. note:: While testing for worker tasks, pagure uses celery in /usr/bin/ Celery then looks for eventlet (which we use for testing only) at system level and not in virtual environment. You will need to install eventlet outside of your virtual environment if you are using one. + + .. note:: This will also work in vagrant.