Hello guys,
I tried to test my module using API that I've been set using postman and it works but, when I try to use odoo.tests using this class 'TransactionCase'
to create a new record it didn't work.
see my python file in this link:
https://photos.app.goo.gl/uJDf33QZkojYqKEp7
and this is my odoo.log said:
...
2024-08-25 14:14:43,646 37828 INFO odoo_17 odoo.modules.registry: module estate: creating or updating database tables 2024-08-25 14:14:43,764 37828 INFO odoo_17 odoo.modules.loading: loading estate/security/ir.model.access.csv 2024-08-25 14:14:43,796 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/templates/email_templates.xml 2024-08-25 14:14:43,808 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/estate_property.xml 2024-08-25 14:14:43,837 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/estate_property_scheduler.xml 2024-08-25 14:14:43,855 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/estate_property_type.xml 2024-08-25 14:14:43,859 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/estate_property_offer.xml 2024-08-25 14:14:43,873 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/estate_property_tag.xml 2024-08-25 14:14:43,882 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/users.xml 2024-08-25 14:14:43,891 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/menu.xml 2024-08-25 14:14:43,920 37828 INFO odoo_17 odoo.modules.loading: loading estate/demo/estate_property_tag_demo.xml 2024-08-25 14:14:43,927 37828 INFO odoo_17 odoo.modules.loading: loading estate/data/estate.property.csv 2024-08-25 14:14:43,951 37828 INFO odoo_17 odoo.modules.loading: loading estate/views/reports/output_pdf/estate_property.xml 2024-08-25 14:14:43,989 37828 INFO odoo_17 odoo.modules.loading: Module estate loaded in 0.45s, 348 queries (+348 other) 2024-08-25 14:14:45,340 37828 INFO odoo_17 odoo.modules.loading: 98 modules loaded in 2.26s, 348 queries (+348 extra) 2024-08-25 14:14:45,901 37828 INFO odoo_17 odoo.modules.registry: verifying fields for every extended model 2024-08-25 14:14:46,661 37828 INFO odoo_17 odoo.modules.loading: Modules loaded. 2024-08-25 14:14:46,666 37828 INFO odoo_17 odoo.modules.registry: Registry loaded in 5.221s 2024-08-25 14:14:46,666 37828 INFO odoo_17 odoo.service.server: Starting post tests 2024-08-25 14:14:46,667 37828 INFO odoo_17 odoo.service.server: 0 post-tests in 0.00s, 0 queries
this is my command line to test:
C:\Odoo\python\python.exe" "C:\Odoo\server\odoo-bin" -d odoo_17 -i estate --test-enable
there is no line indicating testing method occurs. can somebody help me to fix this? if there some mistakes I would appreciate if you correct it