Skip to Content
Menú
This question has been flagged
1 Respondre
4250 Vistes

I am trying to run a single unit test. There is no evidence the test is executing in the server log or to stdout. The server remains running, waiting to server connections. I would expect that it would run my test and stop.

./openerp-server.py --test-file=/path/to/test/sales_payment.yml

Avatar
Descartar
Autor Best Answer

I see my error. A few arguments are not optional.

  • Needed to su to the openerp user to connect to the db. This is how I did it.

sudo su - openerp -s /bin/bash

  • Must specify -d <db>
  • Must specify all necessary addon paths in order to load your environment
Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 15
6760
1
de gen. 23
3999
0
d’oct. 22
1561
0
d’ag. 22
3
0
de des. 21
51