Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I been working with test yaml for openerp module since last six months and everything was going okey. But today I found something that I am not sure what it that happening.
I have a module that only load data into openerp records, and it has not demo. I add a test folder into the module folder, also add a yml file into the test folder. I update the __openerp__.py file and add the key to the descriptor.
"test": [ 'test/file.yml', ],
Then I run the server using -d my_db -u my_module --log-level=test --test-enable options. This should make the test run but It don't. The server log tells me that It loaded the data but did not run the test yaml. It is like the test yaml file does not exist.
I try to force it adding the --test-file=file.yml option to the server options and it works but I don't understand why without this options do not automatically run the test.
Please Help, Best Regards
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/21/14, 10:44 AM|
|Seen: 1716 times|
|Last updated: 3/16/15, 8:10 AM|