Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4312 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
6834
1
ian. 23
4079
0
oct. 22
1631
0
aug. 22
3
0
dec. 21
51