[Zope3-checkins] CVS: Zope3/src/zope/fieldindex/tests - test_fieldindex.py:1.3

Andreas Jung andreas@andreas-jung.com
Wed, 26 Mar 2003 05:58:56 -0500


Update of /cvs-repository/Zope3/src/zope/fieldindex/tests
In directory cvs.zope.org:/tmp/cvs-serv22485/tests

Modified Files:
	test_fieldindex.py 
Log Message:
added check for interface


=== Zope3/src/zope/fieldindex/tests/test_fieldindex.py 1.2 => 1.3 ===
--- Zope3/src/zope/fieldindex/tests/test_fieldindex.py:1.2	Wed Mar 26 05:53:09 2003
+++ Zope3/src/zope/fieldindex/tests/test_fieldindex.py	Wed Mar 26 05:58:56 2003
@@ -16,6 +16,8 @@
 
 from zodb.btrees.IIBTree import IISet
 from zope.fieldindex.fieldindex import FieldIndex
+from zope.fieldindex.ifieldindex import IFieldIndex
+from zope.interface.verify import verifyClass
 
 class FieldIndexTest(TestCase):
 
@@ -39,6 +41,10 @@
         # to be implemented for BTrees
 
         self.assertEqual(results.keys(), expected.keys())
+
+
+    def test_interface(self):
+        verifyClass(IFieldIndex, FieldIndex)
 
 
     def test_empty_index(self):