Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4279 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
6803
1
Jan 23
4020
0
Okt 22
1579
0
Agu 22
3
0
Des 21
51