#5026 Update README
Merged 3 years ago by pingou. Opened 3 years ago by zlopez.
zlopez/pagure README_update  into  master

file modified
+3 -8
@@ -239,7 +239,6 @@ 

  

  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 @@ 

  

    * 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.

Remove old test options and add how the tests should be run now.

Signed-off-by: Michal Konečný mkonecny@redhat.com

Pull-Request has been merged by pingou

3 years ago