Commit e7ef98ab authored by Hanno Schlichting's avatar Hanno Schlichting

Thtere's only one type of interfaces

parent 0e8cb653
......@@ -3,7 +3,7 @@ import unittest
class TestNavigation(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from App.interfaces import INavigation
from App.Management import Navigation
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestPersistent(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from App.interfaces import IPersistentExtra
from Persistence import Persistent
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestUndoSupport(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from App.interfaces import IUndoSupport
from App.Undo import UndoSupport
from zope.interface.verify import verifyClass
......
......@@ -129,7 +129,7 @@ class TestCopySupport( CopySupportTestBase ):
self._cleanApp()
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.CopySupport import CopyContainer
from OFS.CopySupport import CopySource
from OFS.interfaces import ICopyContainer
......
......@@ -3,7 +3,7 @@ import unittest
class TestFTPInterface(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IFTPAccess
from OFS.FTPInterface import FTPInterface
from zope.interface.verify import verifyClass
......
......@@ -302,7 +302,7 @@ class FileTests(unittest.TestCase):
self.assertEqual(len(results), 1)
self.assertEqual(results[0][1], self.file)
def test_z3interfaces(self):
def test_interfaces(self):
from zope.interface.verify import verifyClass
from OFS.Image import File
from webdav.interfaces import IWriteLock
......@@ -346,7 +346,7 @@ class ImageTests(FileTests):
def testViewImageOrFile(self):
pass # dtml method,screw it
def test_z3interfaces(self):
def test_interfaces(self):
from zope.interface.verify import verifyClass
from OFS.Image import Image
from webdav.interfaces import IWriteLock
......
......@@ -3,7 +3,7 @@ import unittest
class TestFindSupport(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IFindSupport
from OFS.FindSupport import FindSupport
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestFolder(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.Folder import Folder
from OFS.interfaces import IFolder
from webdav.interfaces import IWriteLock
......
......@@ -42,7 +42,7 @@ class TestOrderSupport(unittest.TestCase):
f.o4 = DummyObject('o4', 'mt2')
return f
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IOrderedContainer
from OFS.OrderSupport import OrderSupport
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestOrderedFolder(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IOrderedContainer
from OFS.interfaces import IOrderedFolder
from OFS.OrderedFolder import OrderedFolder
......
......@@ -26,7 +26,7 @@ class TestPropertyManager(unittest.TestCase):
def _makeOne(self, *args, **kw):
return self._getTargetClass()(*args, **kw)
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IPropertyManager
from OFS.PropertyManager import PropertyManager
from zope.interface.verify import verifyClass
......
......@@ -67,7 +67,7 @@ class TestItem(unittest.TestCase):
class TestItem_w__name__(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import IItemWithName
from OFS.SimpleItem import Item_w__name__
from zope.interface.verify import verifyClass
......@@ -77,7 +77,7 @@ class TestItem_w__name__(unittest.TestCase):
class TestSimpleItem(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import ISimpleItem
from OFS.SimpleItem import SimpleItem
from zope.interface.verify import verifyClass
......
......@@ -221,7 +221,7 @@ class TestTraverse( unittest.TestCase ):
noSecurityManager()
SecurityManager.setSecurityPolicy(policy)
def test_z3interfaces(self):
def test_interfaces(self):
from OFS.interfaces import ITraversable
from OFS.Traversable import Traversable
from zope.interface.verify import verifyClass
......
......@@ -159,7 +159,7 @@ class DI_Tests(unittest.TestCase):
yr, mo, dy, hr, mn = dt.toZone('UTC').parts()[:5]
return (((yr * 12 + mo) * 31 + dy) * 24 + hr) * 60 + mn
def test_z3interfaces(self):
def test_interfaces(self):
from Products.PluginIndexes.interfaces import IDateIndex
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.interfaces import ISortIndex
......
......@@ -81,7 +81,7 @@ class DRI_Tests( unittest.TestCase ):
return klass(id, since_field, until_field, caller, extra)
def test_z3interfaces(self):
def test_interfaces(self):
from Products.PluginIndexes.interfaces import IDateRangeIndex
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.interfaces import ISortIndex
......
......@@ -91,7 +91,7 @@ class FieldIndexTests(unittest.TestCase):
for k, v in expectedValues:
assert k in result
def test_z3interfaces(self):
def test_interfaces(self):
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.interfaces import ISortIndex
from Products.PluginIndexes.interfaces import IUniqueValueIndex
......
......@@ -88,7 +88,7 @@ class TestKeywordIndex( unittest.TestCase ):
for k, v in expectedValues:
assert k in result
def test_z3interfaces(self):
def test_interfaces(self):
from Products.PluginIndexes.interfaces import IPluggableIndex
from Products.PluginIndexes.interfaces import ISortIndex
from Products.PluginIndexes.interfaces import IUniqueValueIndex
......
......@@ -62,7 +62,7 @@ class TestTopicIndex(TestBase):
self.TI.index_object(5 , Obj('5','doc3'))
self.TI.index_object(6 , Obj('6','doc3'))
def test_z3interfaces(self):
def test_interfaces(self):
from Products.PluginIndexes.interfaces import ITopicIndex
from Products.PluginIndexes.interfaces import IPluggableIndex
from zope.interface.verify import verifyClass
......
......@@ -216,7 +216,7 @@ class TestZCatalog(unittest.TestCase):
def _resolve_num(self, num):
return self.d[num]
def test_z3interfaces(self):
def test_interfaces(self):
from Products.ZCatalog.interfaces import IZCatalog
from Products.ZCatalog.ZCatalog import ZCatalog
from zope.interface.verify import verifyClass
......
......@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""webdav z3 interfaces.
"""webdav interfaces.
"""
from zope.interface import Interface
......
......@@ -3,7 +3,7 @@ import unittest
class TestCollection(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from webdav.Collection import Collection
from webdav.interfaces import IDAVCollection
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestEtagSupport(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from zope.interface.verify import verifyClass
from webdav.EtagSupport import EtagBaseInterface
from webdav.EtagSupport import EtagSupport
......
......@@ -3,7 +3,7 @@ import unittest
class TestLockItem(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from webdav.interfaces import ILockItem
from webdav.LockItem import LockItem
from zope.interface.verify import verifyClass
......
......@@ -3,7 +3,7 @@ import unittest
class TestLockNullResource(unittest.TestCase):
def test_z3interfaces(self):
def test_interfaces(self):
from webdav.interfaces import IWriteLock
from webdav.NullResource import LockNullResource
from zope.interface.verify import verifyClass
......@@ -20,7 +20,7 @@ class TestNullResource(unittest.TestCase):
def _makeOne(self, parent=None, name='nonesuch', **kw):
return self._getTargetClass()(parent, name, **kw)
def test_z3interfaces(self):
def test_interfaces(self):
from webdav.interfaces import IWriteLock
from zope.interface.verify import verifyClass
......
......@@ -45,7 +45,7 @@ class TestResource(unittest.TestCase):
inst = klass()
return inst
def test_z3interfaces(self):
def test_interfaces(self):
from webdav.interfaces import IDAVResource
from webdav.interfaces import IWriteLock
Resource = self._getTargetClass()
......
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