Commit 7033bce7 authored by Arnaud Fontaine's avatar Arnaud Fontaine

TestSQLCatalog class must inherit from ERP5TypeTestCase for expectedFailure.

This fixes 43c8d0b5.
parent edb4be56
...@@ -38,6 +38,7 @@ from Products.ZSQLCatalog.Query.RelatedQuery import RelatedQuery ...@@ -38,6 +38,7 @@ from Products.ZSQLCatalog.Query.RelatedQuery import RelatedQuery
from DateTime import DateTime from DateTime import DateTime
from Products.ZSQLCatalog.SQLExpression import MergeConflictError from Products.ZSQLCatalog.SQLExpression import MergeConflictError
from Products.ERP5Type.tests.backportUnittest import expectedFailure from Products.ERP5Type.tests.backportUnittest import expectedFailure
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
class MatchList(list): class MatchList(list):
def __repr__(self): def __repr__(self):
...@@ -213,7 +214,7 @@ class DummyCatalog(SQLCatalog): ...@@ -213,7 +214,7 @@ class DummyCatalog(SQLCatalog):
""" """
return SimpleQuery(comparison_operator='=', keyword=value) return SimpleQuery(comparison_operator='=', keyword=value)
class TestSQLCatalog(unittest.TestCase): class TestSQLCatalog(ERP5TypeTestCase):
def setUp(self): def setUp(self):
self._catalog = DummyCatalog('dummy_catalog') self._catalog = DummyCatalog('dummy_catalog')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment