summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorAndreas Perhab <andreas.perhab@wt-io-it.at>2019-01-11 11:16:04 +0000
committerAndreas Perhab <andreas.perhab@wt-io-it.at>2019-01-11 14:05:04 +0000
commit9916c30da8211274284ca58d73d3d1826c91ce06 (patch)
tree1c8f26244838eb0e6b60e69a2566240ca7c518c5 /doc/reference/javascript_cheatsheet.rst
parentec25b9d01b27b33339d64c4833563c4f1c987dc8 (diff)
[FIX] web_planner: test should not assume url parameter order
test_web_planner throws errors like this on some environments: AssertionError: '/web#action=135&view_type=list' != '/web#view_type=list&action=135' the urls in web_planner are created with a dict for the parameters to create the urls. dicts are unorderd up to python 3.5. (see https://www.python.org/dev/peps/pep-0468/) As the urls /web#action=135&view_type=list and /web#view_type=list&action=135 are equivalent we now test if the parameters are the equal in the url regardless of their order. closes odoo/odoo#30138
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions