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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
Odoo Training Center
|Asked: 1/21/14, 10:44 AM|
|Seen: 1638 times|
|Last updated: 3/16/15, 8:10 AM|