Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4278 Vistas

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 Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
6803
1
ene 23
4020
0
oct 22
1578
0
ago 22
3
0
dic 21
51