comparison doc/admin_guide.txt @ 6297:a635a60ffb84

Remove standalone pytest run_tests.py bundle Newer pytest doesn't support generating stand alone testing bundles. Python 3.9 generates errors running the current run_tests.py. Changed doc to use pythonX -m pytest test/ and some light directions on how to install pytest. Thanks to jerrykan for recommendations on how to do the doc updates.
author John Rouillard <rouilj@ieee.org>
date Sun, 20 Dec 2020 11:08:57 -0500
parents b2eb59ada444
children c63df349f319
comparison
equal deleted inserted replaced
6296:6cf9f2f49b89 6297:a635a60ffb84
260 ---------------- 260 ----------------
261 261
262 Always make a backup of your tracker before upgrading software. Steps you may 262 Always make a backup of your tracker before upgrading software. Steps you may
263 take: 263 take:
264 264
265 1. Ensure that the unit tests run on your system:: 265 1. Install pytest and ensure that the unit tests run on your system
266 266 (using your preferred python version)::
267 python run_tests.py 267
268 pip2 install pytest
269 python2 -m pytest test/
270
271
272 pip3 install pytest
273 python3 -m pytest test/
268 274
269 2. If you're using an RDBMS backend, make a backup of its contents now. 275 2. If you're using an RDBMS backend, make a backup of its contents now.
270 3. Make a backup of the tracker home itself. 276 3. Make a backup of the tracker home itself.
271 4. Stop the tracker web and email frontends. 277 4. Stop the tracker web and email frontends.
272 5. Install the new version of the software:: 278 5. Install the new version of the software::

Roundup Issue Tracker: http://roundup-tracker.org/