Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
29a93165
Commit
29a93165
authored
12 years ago
by
Nicolas Vanhoren
Browse files
Options
Downloads
Patches
Plain Diff
[REVERT] 4394, because Thu is stupid
bzr revid: nicolas.vanhoren@openerp.com-20120905145703-7t8uiyqur0l16n2b
parent
80daa1b9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openerp/tests/__init__.py
+1
-2
1 addition, 2 deletions
openerp/tests/__init__.py
openerp/tools/html_sanitize.py
+2
-2
2 additions, 2 deletions
openerp/tools/html_sanitize.py
setup.py
+1
-0
1 addition, 0 deletions
setup.py
with
4 additions
and
4 deletions
openerp/tests/__init__.py
+
1
−
2
View file @
29a93165
...
...
@@ -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.
"""
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
fast_suite
=
[
...
...
@@ -17,7 +17,6 @@ fast_suite = [
checks
=
[
test_expression
,
test_html_sanitize
,
test_orm
,
test_view_validation
,
]
...
...
This diff is collapsed.
Click to expand it.
openerp/tools/html_sanitize.py
+
2
−
2
View file @
29a93165
from
pyquery
import
PyQuery
as
pq
import
re
def
html_sanitize
(
x
):
return
x
# It seems that our test suite doesn't care.
if
not
x
:
return
x
root
=
pq
(
"
<div />
"
)
...
...
@@ -59,4 +59,4 @@ def append_to(new_ones, el):
else
:
children
[
-
1
].
tail
=
i
else
:
el
.
append
(
i
)
el
.
append
(
i
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
29a93165
...
...
@@ -99,6 +99,7 @@ setuptools.setup(
'
mako
'
,
'
psycopg2
'
,
'
pydot
'
,
'
pyquery
'
,
'
python-dateutil < 2
'
,
'
python-ldap
'
,
'
python-openid
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment