Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4372 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
6914
1
jan. 23
4156
0
out. 22
1680
0
ago. 22
3
0
dez. 21
51