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 !

>   File "/home/jmartin/workspace/trytond/lib/python2.7/UserDict.py", line 
> 23, in __getitem__
>     raise KeyError(key)
> KeyError: 'DB_NAME'
> 

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpHWBa0_9yl_.pgp
Description: PGP signature

Reply via email to