|
@ -68,7 +68,7 @@ Tests |
|
|
This module comes with a simple test in static/test/context_tunnel.js. |
|
|
This module comes with a simple test in static/test/context_tunnel.js. |
|
|
To run it, open the page /web/tests?mod=web_context_tunnel in your browser |
|
|
To run it, open the page /web/tests?mod=web_context_tunnel in your browser |
|
|
as explained here https://doc.openerp.com/trunk/web/testing |
|
|
as explained here https://doc.openerp.com/trunk/web/testing |
|
|
It should also by picked by the Python testing when testing with PhantomJS. |
|
|
|
|
|
|
|
|
It should also be picked by the Python testing when testing with PhantomJS. |
|
|
|
|
|
|
|
|
As for testing modules using web_context_tunnel with YAML, yes it's possible. |
|
|
As for testing modules using web_context_tunnel with YAML, yes it's possible. |
|
|
In fact you need to manually mimic the new web-client behavior by manually |
|
|
In fact you need to manually mimic the new web-client behavior by manually |
|
@ -82,12 +82,13 @@ https://github.com/openerpbrasil/l10n_br_core/compare/develop...feature%2Fsale-w |
|
|
""", |
|
|
""", |
|
|
'version': '2.0', |
|
|
'version': '2.0', |
|
|
'depends': ['web'], |
|
|
'depends': ['web'], |
|
|
'js': ['static/src/js/context_tunnel.js'], |
|
|
|
|
|
|
|
|
'data': [ |
|
|
|
|
|
'views/web_context_tunnel.xml', |
|
|
|
|
|
], |
|
|
'test': [ |
|
|
'test': [ |
|
|
'static/test/context_tunnel.js', |
|
|
'static/test/context_tunnel.js', |
|
|
], |
|
|
], |
|
|
'css': [], |
|
|
'css': [], |
|
|
'auto_install': False, |
|
|
'auto_install': False, |
|
|
'installable': False, |
|
|
|
|
|
'web_preload': False, |
|
|
'web_preload': False, |
|
|
} |
|
|
} |