[REVERT] 4394, because Thu is stupid
bzr revid: nicolas.vanhoren@openerp.com-20120905145703-7t8uiyqur0l16n2b
This commit is contained in:
parent
80daa1b956
commit
29a9316566
|
@ -8,7 +8,7 @@ Tests can be explicitely added to the `fast_suite` or `checks` lists or not.
|
||||||
See the :ref:`test-framework` section in the :ref:`features` list.
|
See the :ref:`test-framework` section in the :ref:`features` list.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from . import test_expression, test_html_sanitize, test_ir_sequence, test_orm,\
|
from . import test_expression, test_ir_sequence, test_orm,\
|
||||||
test_view_validation, test_uninstall
|
test_view_validation, test_uninstall
|
||||||
|
|
||||||
fast_suite = [
|
fast_suite = [
|
||||||
|
@ -17,7 +17,6 @@ fast_suite = [
|
||||||
|
|
||||||
checks = [
|
checks = [
|
||||||
test_expression,
|
test_expression,
|
||||||
test_html_sanitize,
|
|
||||||
test_orm,
|
test_orm,
|
||||||
test_view_validation,
|
test_view_validation,
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
|
from pyquery import PyQuery as pq
|
||||||
import re
|
import re
|
||||||
|
|
||||||
def html_sanitize(x):
|
def html_sanitize(x):
|
||||||
return x # It seems that our test suite doesn't care.
|
|
||||||
if not x:
|
if not x:
|
||||||
return x
|
return x
|
||||||
root = pq("<div />")
|
root = pq("<div />")
|
||||||
|
|
Loading…
Reference in New Issue