Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
9a0c25c2
Commit
9a0c25c2
authored
Oct 12, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cast to string in order to avoid utf issues.
parent
3297cd09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
...5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
+1
-1
bt5/erp5_tiosafe_oxatis_test/bt/revision
bt5/erp5_tiosafe_oxatis_test/bt/revision
+1
-1
No files found.
bt5/erp5_tiosafe_oxatis_test/ExtensionTemplateItem/OxatisTest.py
View file @
9a0c25c2
...
@@ -200,7 +200,7 @@ class OxatisTestConnector:
...
@@ -200,7 +200,7 @@ class OxatisTestConnector:
xml_element
=
etree
.
XML
(
xml
)
xml_element
=
etree
.
XML
(
xml
)
validated
=
xml_schema
.
validate
(
xml_element
)
validated
=
xml_schema
.
validate
(
xml_element
)
if
validated
is
False
:
if
validated
is
False
:
LOG
(
"validateXMLSchema failed with"
,
ERROR
,
"%s, xsd = %s
\
n
xml = %s
\
n
"
%
(
xml_schema
.
error_log
.
filter_from_errors
()[
0
]
,
xsd
.
data
,
xml
))
LOG
(
"validateXMLSchema failed with"
,
ERROR
,
"%s, xsd = %s
\
n
xml = %s
\
n
"
%
(
str
(
xml_schema
.
error_log
.
filter_from_errors
()[
0
])
,
xsd
.
data
,
xml
))
assert
validated
is
True
assert
validated
is
True
return
validated
return
validated
...
...
bt5/erp5_tiosafe_oxatis_test/bt/revision
View file @
9a0c25c2
69
70
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment