Tâche #10893
Mis à jour par Joël Cuissinat il y a environ 9 ans
<pre>
root@amonecole:/usr/share/scribe/tests# py.test test_devdir.py
============================================================================================= test session starts =====
platform linux2 -- Python 2.7.3 -- pytest-1.3.4
test path 1: test_devdir.py
test_devdir.py E
==================================================================================================== ERRORS ===========
___________________________________________________________________________ ERROR collecting /usr/share/scribe/tests/test_devdir.py __
test_devdir.py:10: in <module>
> import scribe.login as login
/usr/lib/python2.7/dist-packages/scribe/login.py:25: in <module>
> from config import mysql_host, mysql_password
E ImportError: No module named config
=========================================================================================== 1 error in 0.45 seconds ======
</pre>
root@amonecole:/usr/share/scribe/tests# py.test test_devdir.py
============================================================================================= test session starts =====
platform linux2 -- Python 2.7.3 -- pytest-1.3.4
test path 1: test_devdir.py
test_devdir.py E
==================================================================================================== ERRORS ===========
___________________________________________________________________________ ERROR collecting /usr/share/scribe/tests/test_devdir.py __
test_devdir.py:10: in <module>
> import scribe.login as login
/usr/lib/python2.7/dist-packages/scribe/login.py:25: in <module>
> from config import mysql_host, mysql_password
E ImportError: No module named config
=========================================================================================== 1 error in 0.45 seconds ======
</pre>