Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
c127663e
Commit
c127663e
authored
Jun 10, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable tests using verify_class_implementation(), which has
disappeared from the Interface package. What replaces it?
parent
2e278425
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
lib/python/Products/ZCTextIndex/tests/testQueryParser.py
lib/python/Products/ZCTextIndex/tests/testQueryParser.py
+2
-2
lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py
lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py
+3
-3
No files found.
lib/python/Products/ZCTextIndex/tests/testQueryParser.py
View file @
c127663e
...
...
@@ -14,7 +14,7 @@
from
unittest
import
TestCase
,
TestSuite
,
main
,
makeSuite
from
Interface
import
verify_class_implementation
##
from Interface import verify_class_implementation
from
Products.ZCTextIndex.IQueryParser
import
IQueryParser
from
Products.ZCTextIndex.IQueryParseTree
import
IQueryParseTree
...
...
@@ -289,7 +289,7 @@ class FakeStopWordRemover:
def
test_suite
():
return
TestSuite
((
makeSuite
(
TestQueryParser
),
makeSuite
(
StopWordTestQueryParser
),
makeSuite
(
TestInterfaces
),
##
makeSuite(TestInterfaces),
))
...
...
lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py
View file @
c127663e
...
...
@@ -12,7 +12,7 @@
#
##############################################################################
from
Interface
import
verify_class_implementation
##
from Interface import verify_class_implementation
from
Products.PluginIndexes.common.PluggableIndex
import
\
PluggableIndexInterface
...
...
@@ -188,8 +188,8 @@ class CosineIndexTests(ZCIndexTestsBase, testIndex.CosineIndexTest):
# Gigabytes, pp. 180-188. This test peeks into many internals of the
# cosine indexer.
def testInterface(self):
verify_class_implementation(PluggableIndexInterface, ZCTextIndex)
##
def testInterface(self):
##
verify_class_implementation(PluggableIndexInterface, ZCTextIndex)
def testRanking(self):
self.words = ["
cold
", "
days
", "
eat
", "
hot
", "
lot
", "
nine
", "
old
",
...
...
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