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
7033bce7
Commit
7033bce7
authored
May 19, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TestSQLCatalog class must inherit from ERP5TypeTestCase for expectedFailure.
This fixes
43c8d0b5
.
parent
edb4be56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ZSQLCatalog/tests/testSQLCatalog.py
product/ZSQLCatalog/tests/testSQLCatalog.py
+2
-1
No files found.
product/ZSQLCatalog/tests/testSQLCatalog.py
View file @
7033bce7
...
@@ -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
(
ERP5Type
TestCase
):
def
setUp
(
self
):
def
setUp
(
self
):
self
.
_catalog
=
DummyCatalog
(
'dummy_catalog'
)
self
.
_catalog
=
DummyCatalog
(
'dummy_catalog'
)
...
...
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