changeset 766ef7ac2a8c in tryton-tweet:default
details: https://hg.tryton.org/tryton-tweet?cmd=changeset&node=766ef7ac2a8c
description:
        Use unittest discover command to run test
diffstat:

 tips |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7e73a479cca5 -r 766ef7ac2a8c tips
--- a/tips      Thu May 26 10:31:28 2022 +0200
+++ b/tips      Wed Aug 03 08:24:13 2022 +0200
@@ -107,7 +107,7 @@
 one you want to execute (hint: access rights are applied)
 
 Developing a module outside trytond sources, you can run the test with:
-$ python -m trytond.tests.run-tests -m <module>
+$ python -m unittest discover -s trytond.modules.my_module.tests
 
 Create a test database out of a scenario in $HOME/db:
 $ TRYTOND_CONFIG= DB_NAME=test python -m doctest -f path/to/scenario.rst

Reply via email to