Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4326 Prikazi

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
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
6850
1
jan. 23
4093
0
okt. 22
1639
0
avg. 22
3
0
dec. 21
51