Fabien Meghazi
3315938178
[FIX] Response default mimetype
...
bzr revid: fme@openerp.com-20140219102903-h8n070qqbbhlnenr
2014-02-19 11:29:03 +01:00
Fabien Meghazi
48d1e2d879
[ADD] Request with lazy rendering support
...
bzr revid: fme@openerp.com-20140218161505-bmfcc2jq16vvflzn
2014-02-18 17:15:05 +01:00
Xavier Morel
cb03b384b0
[IMP] phantomjs runner
...
* use Skip exception to skip tests in case phantomjs binary not found
* remove spurious logging, move some to debug when debatable
* use testing assertions for correct reporting
* allow failure message
* use mutable buffer to accumulate stdout data
bzr revid: xmo@openerp.com-20140218133445-e5l155j10i934o88
2014-02-18 14:34:45 +01:00
Xavier Morel
d926581bb9
[IMP] slightly improve error message at the end of a module's failed tests
...
bzr revid: xmo@openerp.com-20140218101847-mwsd2zolpze1xdhf
2014-02-18 11:18:47 +01:00
Xavier Morel
33076a34aa
[FIX] run_unit_tests lying about its return value: it only ever returns a bool, never None
...
bzr revid: xmo@openerp.com-20140218095632-r4aq7gnzj4hq9u64
2014-02-18 10:56:32 +01:00
Xavier Morel
71259f09f4
[ADD] hooks to enable/disable tests running during install
...
also add flag for post_install run, but not used yet
bzr revid: xmo@openerp.com-20140218095452-pptez5rlpdez1ttl
2014-02-18 10:54:52 +01:00
Xavier Morel
9a22d42b8b
[IMP] unwrap tests suites during module loading, prepare for storing/filtering attributes
...
bzr revid: xmo@openerp.com-20140217155830-dcacx7qvyf7i0i4m
2014-02-17 16:58:30 +01:00
openerp-sle
0b7351da20
[MERGE] trunk
...
bzr revid: openerp-sle@openerp-sle.home-20140217153601-75znvem3gez24ycs
2014-02-17 16:36:01 +01:00
openerp-sle
1e0d15e5ec
[FIX] Added the 'oldname' attribute on the renamed 'paper_format' field
...
bzr revid: openerp-sle@openerp-sle.home-20140217153459-3hcxvzmd1j5vvwgq
2014-02-17 16:34:59 +01:00
Xavier Morel
665e2629e2
[FIX] only run test modules called test_*, similar to normal autodiscovery
...
bzr revid: xmo@openerp.com-20140217151521-vyg130iznzojv3e4
2014-02-17 16:15:21 +01:00
openerp-sle
f703a4bb35
[MERGE] trunk
...
bzr revid: openerp-sle@openerp-sle.home-20140217094935-1vow2td4pxb6wq3x
2014-02-17 10:49:35 +01:00
Antony Lesuisse
91b1c8472f
[FIX] ir.http testing generate a router including the current module
...
this fix is a dirty hack, the proper fix could be a new 'installing' state in
modules, or an improved registry object.
bzr revid: al@openerp.com-20140217005137-mhrzc4znr8rqe9yu
2014-02-17 01:51:37 +01:00
Antony Lesuisse
75c350976c
[FIX] tests HttpCase phantomjs conditional injection inject=[(need,file)]
...
bzr revid: al@openerp.com-20140217000150-wt3pwqrqcd7n2mfd
2014-02-17 01:01:50 +01:00
Antony Lesuisse
62f20f3302
[FIX] tests move test_ui to web as it requires web.login template
...
bzr revid: al@openerp.com-20140216214456-gplefhb821s61677
2014-02-16 22:44:56 +01:00
Antony Lesuisse
c8324bafcc
[IMP] phantomjs testing
...
- avoid dbmanager by presetting db in the test session
- correctly handle login option
- serialize test cursor access
bzr revid: al@openerp.com-20140216212222-4o6x9uljyua3g1og
2014-02-16 22:22:22 +01:00
Antony Lesuisse
42db02f73c
[FIX] tests HTTPCase if phantomjs is not installed
...
bzr revid: al@openerp.com-20140216162026-ymbzoi70txbr64yl
2014-02-16 17:20:26 +01:00
openerp-sle
4a65881e24
[MERGE] trunk
...
bzr revid: openerp-sle@openerp-sle.home-20140213121357-upr6tlajbebkcre3
bzr revid: openerp-sle@openerp-sle.home-20140216103456-epv8x3f8j8jcbla7
2014-02-16 11:34:56 +01:00
Xavier Morel
13fc1e885c
[FIX] missed case where sys.modules values can be None
...
bzr revid: xmo@openerp.com-20140214153055-xguhxigsnrzy3ejq
2014-02-14 16:30:55 +01:00
Xavier Morel
a86d7a548d
[IMP] use TestSuite.addTests instead of manually iterating on loadTestsFromModule results
...
bzr revid: xmo@openerp.com-20140214145257-2alo4dvn8rmq3xfj
2014-02-14 15:52:57 +01:00
Xavier Morel
d21114454e
[IMP] remove pointless extra newline in log message of column removal
...
bzr revid: xmo@openerp.com-20140214145219-07pk822tpo0nohpn
2014-02-14 15:52:19 +01:00
Xavier Morel
4d32dabdd6
[IMP] replace explicit iteration by listcomp
...
bzr revid: xmo@openerp.com-20140214143932-8nb30mkdxzt96fd5
2014-02-14 15:39:32 +01:00
Xavier Morel
2921fa339d
[REM] unused variable
...
bzr revid: xmo@openerp.com-20140214143724-fcxy9tn8gmodi223
2014-02-14 15:37:24 +01:00
Xavier Morel
8e63677c90
[IMP] fix flow analysis warning, simplify loader code
...
bzr revid: xmo@openerp.com-20140214143549-sezf14rvt0cnm2cr
2014-02-14 15:35:49 +01:00
Xavier Morel
f4d155fce8
[REM] redundant logger initialization
...
bzr revid: xmo@openerp.com-20140214143444-z5ez21g0t61jh81u
2014-02-14 15:34:44 +01:00
Launchpad Translations on behalf of openerp
ff70d29675
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140214064917-zj30bpyc0mlpvqer
2014-02-14 06:49:17 +00:00
openerp-sle
3ef93918a8
[FIX] Increased allowed virtual memory per worker
...
bzr revid: openerp-sle@openerp-sle.home-20140212225240-nhu8dj68z84rm9u5
2014-02-12 23:52:40 +01:00
openerp-sle
5e535ee4f3
[IMP] Renamed paper_format to rml_paperformat and moved report's related configuration into a tab in the company form
...
bzr revid: openerp-sle@openerp-sle.home-20140212115350-2p9ky7ei2t9q99xs
2014-02-12 12:53:50 +01:00
Raphael Collet
3aa24b345e
[MERGE] from saas-3
...
bzr revid: rco@openerp.com-20140211162843-bfowcg6a3qb91h3c
2014-02-11 17:28:43 +01:00
Raphael Collet
9f7c687dec
[FIX] ir_ui_view: in context dict, put model name instead of model itself
...
bzr revid: rco@openerp.com-20140211162736-hgkwjk336ldkjej6
2014-02-11 17:27:36 +01:00
Martin Trigaux
24b0b132d4
[FIX] module: fix imports broken at revision 5055
...
get_module_resource method is required by function fields of ir.module.module
bzr revid: mat@openerp.com-20140211105525-tuhs10hb8y3o1rnp
2014-02-11 11:55:25 +01:00
Christophe Simonis
88e8c52702
[FIX] trunk is 8.0 alpha, not saas-3
...
lp bug: https://launchpad.net/bugs/1278411 fixed
bzr revid: chs@openerp.com-20140211105315-ogfh9d2qzhu3sa5o
2014-02-11 11:53:15 +01:00
Christophe Matthieu
90ed82bb14
[IMP] test phantomtest: inject files with testing if a variable is already setted
...
bzr revid: chm@openerp.com-20140210131910-z8eggofegua88516
2014-02-10 14:19:10 +01:00
Fabien Meghazi
f36b92bb81
[MERGE] saas-3
...
bzr revid: fme@openerp.com-20140210105311-wattch3c49ikwwmn
2014-02-10 11:53:11 +01:00
Antony Lesuisse
1f78dfb76d
[IMP] phantomjs testing add an easy phantom_js helper
...
self.phantom_js(<page_to_load>, <code_to_run>, <global_object_to_wait>, **options)
example:
self.phantom_js("/", "openerp.module.mytest()", "openerp.module.mytest");
console.log('ok') or console.log('error') should be used to signal success or
failure. Other console.log's will be passed to the test logger.
bzr revid: al@openerp.com-20140210004517-jc2cobc31qshxchm
2014-02-10 01:45:17 +01:00
Antony Lesuisse
fb88cb841f
[IMP] test_ui shorter code
...
bzr revid: al@openerp.com-20140209234714-bq5w2zo9v402x87v
2014-02-10 00:47:14 +01:00
Antony Lesuisse
8790ae76fc
[IMP] rename into test_ui like addons
...
bzr revid: al@openerp.com-20140209231948-5tqj0nndsod0gyb1
2014-02-10 00:19:48 +01:00
Antony Lesuisse
1f67b2165c
[IMP] phantomtest helper
...
bzr revid: al@openerp.com-20140209223917-vruzjvl0mtsqoo87
2014-02-09 23:39:17 +01:00
Antony Lesuisse
e6ac29ee43
[IMP] move test cases to tests.py remove deprecated wsgi import
...
bzr revid: al@openerp.com-20140209151822-cgk0wibqe1kfd42w
2014-02-09 16:18:22 +01:00
Antony Lesuisse
ac68581e2e
[FIX] re-enable test func and qweb
...
bzr revid: al@openerp.com-20140209143326-mitb5g9sdsll9arj
2014-02-09 15:33:26 +01:00
Antony Lesuisse
16fd821ed6
[FIX] restore testing after patching runbot
...
bzr revid: al@openerp.com-20140209141912-rh3yedrmjudv8jif
2014-02-09 15:19:12 +01:00
Antony Lesuisse
bd16076431
fix try to fix runbot oe command
...
bzr revid: al@openerp.com-20140209022520-p55nlctjru58ans5
2014-02-09 03:25:20 +01:00
Antony Lesuisse
002ac937c1
add python --test-file support
...
bzr revid: al@openerp.com-20140209014636-2fbl15q8wrubmiup
2014-02-09 02:46:36 +01:00
Antony Lesuisse
278ed718e9
new test execution engine
...
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper
bzr revid: al@openerp.com-20140209004005-p5pwym4sqc23vw5b
2014-02-09 01:40:05 +01:00
Antony Lesuisse
82372e6a02
move tests
...
move test modules
remove xml test
add phantomjs test
readd remove uninstall test (currently disabled because of cr.commit)
bzr revid: al@openerp.com-20140209003745-ehrx8ikwkmusa644
2014-02-09 01:37:45 +01:00
Fabien Meghazi
297781df08
[IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
...
bzr revid: fme@openerp.com-20140206161204-vp6kydvdxhg5qykx
2014-02-06 17:12:04 +01:00
Christophe Simonis
9289a2608d
[MERGE] forward port of branch saas-3 up to revid 5060 chs@openerp.com-20140206131116-we6rlic5fu09xh8q
...
bzr revid: chs@openerp.com-20140206131219-9rpwsfe9vc7uf0cr
2014-02-06 14:12:19 +01:00
Christophe Simonis
5a022d6ab3
[MERGE] backport trunk revision 5053 fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5
...
bzr revid: chs@openerp.com-20140206131116-we6rlic5fu09xh8q
2014-02-06 14:11:16 +01:00
Christophe Simonis
73d675a73d
[FIX] ir.ui.view: avoid infinite loop when applying multiple inheritance inside a single view (use of <data> tag)
...
bzr revid: chs@openerp.com-20140206130349-19v4ah0lwy87t50o
2014-02-06 14:03:49 +01:00
Antony Lesuisse
4a5b4a8c3f
[IMP] sale_eval break continue raise control flow opcodes
...
bzr revid: al@openerp.com-20140206124019-07in9p9capmznlo2
2014-02-06 13:40:19 +01:00
Christophe Simonis
94162667dd
[IMP] http: extract save/get session actions as methods on session object
...
bzr revid: chs@openerp.com-20140206115209-naleunin0mleghda
2014-02-06 12:52:09 +01:00