El 23/05/14 14:17, Jesús Martín Jiménez ha escrit:


El viernes, 23 de mayo de 2014 13:46:49 UTC+2, Cédric Krier escribió:

    On 23 May 04:34, Jesús Martín Jiménez wrote:
    > Hi,
    >
    > I'm trying to run a test in a module I'm developing, and I've
    got this
    > traceback [1]. Have anything changed since 3.0 version that I
    missed?
    >
    > Thank you.
    >
    > [1]
    > Traceback (most recent call last):
    >   File "test_account.py", line 8, in <module>
    >     import trytond.tests.test_tryton
    >   File
    >
    "/home/jmartin/workspace/trytond/trytond/trytond/tests/test_tryton.py",

    > line 25, in <module>
    >     DB_NAME = os.environ['DB_NAME']

    os.environ !


Ok. Now I've got this result. Definitively I'm doing something wrong, but I don't know what -_-'
You can just use the run_test[1] script with -m <module_name> to run only for one module.


[1] http://hg.tryton.org/trytond/file/a29aa9e0014f/trytond/tests/run-tests.py

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Reply via email to