diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py index a30406d70a31650c05f6db239e4dc81c6f286fbc..f89eb7ec330f65f54f4158f2084c06b4bfb71498 100644 --- a/product/ERP5/tests/testXHTML.py +++ b/product/ERP5/tests/testXHTML.py @@ -142,6 +142,8 @@ def validate_xhtml(source): if len(data) >= 2: if data[1].startswith('Error: '): return False + elif data[1].startswith('Warning: '): + return False return True