Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4302 Переглядів

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
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
6822
1
січ. 23
4058
0
жовт. 22
1609
0
серп. 22
3
0
груд. 21
51