Skip to Content
Menu
This question has been flagged
1 Reply
4167 Views

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
Discard
Author 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
Discard
Related Posts Replies Views Activity
1
Mar 15
6677
1
Jan 23
3861
0
Oct 22
1502
0
Aug 22
3
0
Dec 21
51