Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4284 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
6812
1
sty 23
4028
0
paź 22
1584
0
sie 22
3
0
gru 21
51