跳至内容
菜单
此问题已终结
1 回复
4336 查看

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

形象
丢弃
编写者 最佳答案

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
形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
6864
1
1月 23
4106
0
10月 22
1652
0
8月 22
3
0
12月 21
51