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
e7ef98ab
Commit
e7ef98ab
authored
Jul 31, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thtere's only one type of interfaces
parent
0e8cb653
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
28 additions
and
28 deletions
+28
-28
src/App/tests/testManagement.py
src/App/tests/testManagement.py
+1
-1
src/App/tests/testPersistentExtra.py
src/App/tests/testPersistentExtra.py
+1
-1
src/App/tests/testUndo.py
src/App/tests/testUndo.py
+1
-1
src/OFS/tests/testCopySupport.py
src/OFS/tests/testCopySupport.py
+1
-1
src/OFS/tests/testFTPInterface.py
src/OFS/tests/testFTPInterface.py
+1
-1
src/OFS/tests/testFileAndImage.py
src/OFS/tests/testFileAndImage.py
+2
-2
src/OFS/tests/testFindSupport.py
src/OFS/tests/testFindSupport.py
+1
-1
src/OFS/tests/testFolder.py
src/OFS/tests/testFolder.py
+1
-1
src/OFS/tests/testOrderSupport.py
src/OFS/tests/testOrderSupport.py
+1
-1
src/OFS/tests/testOrderedFolder.py
src/OFS/tests/testOrderedFolder.py
+1
-1
src/OFS/tests/testProperties.py
src/OFS/tests/testProperties.py
+1
-1
src/OFS/tests/testSimpleItem.py
src/OFS/tests/testSimpleItem.py
+2
-2
src/OFS/tests/testTraverse.py
src/OFS/tests/testTraverse.py
+1
-1
src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
+1
-1
src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
...PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
+1
-1
src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
...Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
+1
-1
src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
...ucts/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
+1
-1
src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
...Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
+1
-1
src/Products/ZCatalog/tests/test_catalog.py
src/Products/ZCatalog/tests/test_catalog.py
+1
-1
src/webdav/interfaces.py
src/webdav/interfaces.py
+1
-1
src/webdav/tests/testCollection.py
src/webdav/tests/testCollection.py
+1
-1
src/webdav/tests/testEtagSupport.py
src/webdav/tests/testEtagSupport.py
+1
-1
src/webdav/tests/testLockItem.py
src/webdav/tests/testLockItem.py
+1
-1
src/webdav/tests/testNullResource.py
src/webdav/tests/testNullResource.py
+2
-2
src/webdav/tests/testResource.py
src/webdav/tests/testResource.py
+1
-1
No files found.
src/App/tests/testManagement.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestNavigation
(
unittest
.
TestCase
):
class
TestNavigation
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
App.interfaces
import
INavigation
from
App.interfaces
import
INavigation
from
App.Management
import
Navigation
from
App.Management
import
Navigation
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/App/tests/testPersistentExtra.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestPersistent
(
unittest
.
TestCase
):
class
TestPersistent
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
App.interfaces
import
IPersistentExtra
from
App.interfaces
import
IPersistentExtra
from
Persistence
import
Persistent
from
Persistence
import
Persistent
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/App/tests/testUndo.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestUndoSupport
(
unittest
.
TestCase
):
class
TestUndoSupport
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
App.interfaces
import
IUndoSupport
from
App.interfaces
import
IUndoSupport
from
App.Undo
import
UndoSupport
from
App.Undo
import
UndoSupport
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testCopySupport.py
View file @
e7ef98ab
...
@@ -129,7 +129,7 @@ class TestCopySupport( CopySupportTestBase ):
...
@@ -129,7 +129,7 @@ class TestCopySupport( CopySupportTestBase ):
self
.
_cleanApp
()
self
.
_cleanApp
()
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.CopySupport
import
CopyContainer
from
OFS.CopySupport
import
CopyContainer
from
OFS.CopySupport
import
CopySource
from
OFS.CopySupport
import
CopySource
from
OFS.interfaces
import
ICopyContainer
from
OFS.interfaces
import
ICopyContainer
...
...
src/OFS/tests/testFTPInterface.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestFTPInterface
(
unittest
.
TestCase
):
class
TestFTPInterface
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IFTPAccess
from
OFS.interfaces
import
IFTPAccess
from
OFS.FTPInterface
import
FTPInterface
from
OFS.FTPInterface
import
FTPInterface
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testFileAndImage.py
View file @
e7ef98ab
...
@@ -302,7 +302,7 @@ class FileTests(unittest.TestCase):
...
@@ -302,7 +302,7 @@ class FileTests(unittest.TestCase):
self
.
assertEqual
(
len
(
results
),
1
)
self
.
assertEqual
(
len
(
results
),
1
)
self
.
assertEqual
(
results
[
0
][
1
],
self
.
file
)
self
.
assertEqual
(
results
[
0
][
1
],
self
.
file
)
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
from
OFS.Image
import
File
from
OFS.Image
import
File
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
...
@@ -346,7 +346,7 @@ class ImageTests(FileTests):
...
@@ -346,7 +346,7 @@ class ImageTests(FileTests):
def
testViewImageOrFile
(
self
):
def
testViewImageOrFile
(
self
):
pass
# dtml method,screw it
pass
# dtml method,screw it
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
from
OFS.Image
import
Image
from
OFS.Image
import
Image
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
...
...
src/OFS/tests/testFindSupport.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestFindSupport
(
unittest
.
TestCase
):
class
TestFindSupport
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IFindSupport
from
OFS.interfaces
import
IFindSupport
from
OFS.FindSupport
import
FindSupport
from
OFS.FindSupport
import
FindSupport
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testFolder.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestFolder
(
unittest
.
TestCase
):
class
TestFolder
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.Folder
import
Folder
from
OFS.Folder
import
Folder
from
OFS.interfaces
import
IFolder
from
OFS.interfaces
import
IFolder
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
...
...
src/OFS/tests/testOrderSupport.py
View file @
e7ef98ab
...
@@ -42,7 +42,7 @@ class TestOrderSupport(unittest.TestCase):
...
@@ -42,7 +42,7 @@ class TestOrderSupport(unittest.TestCase):
f
.
o4
=
DummyObject
(
'o4'
,
'mt2'
)
f
.
o4
=
DummyObject
(
'o4'
,
'mt2'
)
return
f
return
f
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IOrderedContainer
from
OFS.interfaces
import
IOrderedContainer
from
OFS.OrderSupport
import
OrderSupport
from
OFS.OrderSupport
import
OrderSupport
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testOrderedFolder.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestOrderedFolder
(
unittest
.
TestCase
):
class
TestOrderedFolder
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IOrderedContainer
from
OFS.interfaces
import
IOrderedContainer
from
OFS.interfaces
import
IOrderedFolder
from
OFS.interfaces
import
IOrderedFolder
from
OFS.OrderedFolder
import
OrderedFolder
from
OFS.OrderedFolder
import
OrderedFolder
...
...
src/OFS/tests/testProperties.py
View file @
e7ef98ab
...
@@ -26,7 +26,7 @@ class TestPropertyManager(unittest.TestCase):
...
@@ -26,7 +26,7 @@ class TestPropertyManager(unittest.TestCase):
def
_makeOne
(
self
,
*
args
,
**
kw
):
def
_makeOne
(
self
,
*
args
,
**
kw
):
return
self
.
_getTargetClass
()(
*
args
,
**
kw
)
return
self
.
_getTargetClass
()(
*
args
,
**
kw
)
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IPropertyManager
from
OFS.interfaces
import
IPropertyManager
from
OFS.PropertyManager
import
PropertyManager
from
OFS.PropertyManager
import
PropertyManager
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testSimpleItem.py
View file @
e7ef98ab
...
@@ -67,7 +67,7 @@ class TestItem(unittest.TestCase):
...
@@ -67,7 +67,7 @@ class TestItem(unittest.TestCase):
class
TestItem_w__name__
(
unittest
.
TestCase
):
class
TestItem_w__name__
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
IItemWithName
from
OFS.interfaces
import
IItemWithName
from
OFS.SimpleItem
import
Item_w__name__
from
OFS.SimpleItem
import
Item_w__name__
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
@@ -77,7 +77,7 @@ class TestItem_w__name__(unittest.TestCase):
...
@@ -77,7 +77,7 @@ class TestItem_w__name__(unittest.TestCase):
class
TestSimpleItem
(
unittest
.
TestCase
):
class
TestSimpleItem
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
ISimpleItem
from
OFS.interfaces
import
ISimpleItem
from
OFS.SimpleItem
import
SimpleItem
from
OFS.SimpleItem
import
SimpleItem
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/OFS/tests/testTraverse.py
View file @
e7ef98ab
...
@@ -221,7 +221,7 @@ class TestTraverse( unittest.TestCase ):
...
@@ -221,7 +221,7 @@ class TestTraverse( unittest.TestCase ):
noSecurityManager
()
noSecurityManager
()
SecurityManager
.
setSecurityPolicy
(
policy
)
SecurityManager
.
setSecurityPolicy
(
policy
)
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
OFS.interfaces
import
ITraversable
from
OFS.interfaces
import
ITraversable
from
OFS.Traversable
import
Traversable
from
OFS.Traversable
import
Traversable
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
View file @
e7ef98ab
...
@@ -159,7 +159,7 @@ class DI_Tests(unittest.TestCase):
...
@@ -159,7 +159,7 @@ class DI_Tests(unittest.TestCase):
yr
,
mo
,
dy
,
hr
,
mn
=
dt
.
toZone
(
'UTC'
).
parts
()[:
5
]
yr
,
mo
,
dy
,
hr
,
mn
=
dt
.
toZone
(
'UTC'
).
parts
()[:
5
]
return
(((
yr
*
12
+
mo
)
*
31
+
dy
)
*
24
+
hr
)
*
60
+
mn
return
(((
yr
*
12
+
mo
)
*
31
+
dy
)
*
24
+
hr
)
*
60
+
mn
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.PluginIndexes.interfaces
import
IDateIndex
from
Products.PluginIndexes.interfaces
import
IDateIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
...
...
src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
View file @
e7ef98ab
...
@@ -81,7 +81,7 @@ class DRI_Tests( unittest.TestCase ):
...
@@ -81,7 +81,7 @@ class DRI_Tests( unittest.TestCase ):
return
klass
(
id
,
since_field
,
until_field
,
caller
,
extra
)
return
klass
(
id
,
since_field
,
until_field
,
caller
,
extra
)
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.PluginIndexes.interfaces
import
IDateRangeIndex
from
Products.PluginIndexes.interfaces
import
IDateRangeIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
...
...
src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
View file @
e7ef98ab
...
@@ -91,7 +91,7 @@ class FieldIndexTests(unittest.TestCase):
...
@@ -91,7 +91,7 @@ class FieldIndexTests(unittest.TestCase):
for
k
,
v
in
expectedValues
:
for
k
,
v
in
expectedValues
:
assert
k
in
result
assert
k
in
result
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
IUniqueValueIndex
from
Products.PluginIndexes.interfaces
import
IUniqueValueIndex
...
...
src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
View file @
e7ef98ab
...
@@ -88,7 +88,7 @@ class TestKeywordIndex( unittest.TestCase ):
...
@@ -88,7 +88,7 @@ class TestKeywordIndex( unittest.TestCase ):
for
k
,
v
in
expectedValues
:
for
k
,
v
in
expectedValues
:
assert
k
in
result
assert
k
in
result
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
ISortIndex
from
Products.PluginIndexes.interfaces
import
IUniqueValueIndex
from
Products.PluginIndexes.interfaces
import
IUniqueValueIndex
...
...
src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
View file @
e7ef98ab
...
@@ -62,7 +62,7 @@ class TestTopicIndex(TestBase):
...
@@ -62,7 +62,7 @@ class TestTopicIndex(TestBase):
self
.
TI
.
index_object
(
5
,
Obj
(
'5'
,
'doc3'
))
self
.
TI
.
index_object
(
5
,
Obj
(
'5'
,
'doc3'
))
self
.
TI
.
index_object
(
6
,
Obj
(
'6'
,
'doc3'
))
self
.
TI
.
index_object
(
6
,
Obj
(
'6'
,
'doc3'
))
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.PluginIndexes.interfaces
import
ITopicIndex
from
Products.PluginIndexes.interfaces
import
ITopicIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
Products.PluginIndexes.interfaces
import
IPluggableIndex
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/Products/ZCatalog/tests/test_catalog.py
View file @
e7ef98ab
...
@@ -216,7 +216,7 @@ class TestZCatalog(unittest.TestCase):
...
@@ -216,7 +216,7 @@ class TestZCatalog(unittest.TestCase):
def
_resolve_num
(
self
,
num
):
def
_resolve_num
(
self
,
num
):
return
self
.
d
[
num
]
return
self
.
d
[
num
]
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
Products.ZCatalog.interfaces
import
IZCatalog
from
Products.ZCatalog.interfaces
import
IZCatalog
from
Products.ZCatalog.ZCatalog
import
ZCatalog
from
Products.ZCatalog.ZCatalog
import
ZCatalog
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/webdav/interfaces.py
View file @
e7ef98ab
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE.
# FOR A PARTICULAR PURPOSE.
#
#
##############################################################################
##############################################################################
"""webdav
z3
interfaces.
"""webdav interfaces.
"""
"""
from
zope.interface
import
Interface
from
zope.interface
import
Interface
...
...
src/webdav/tests/testCollection.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestCollection
(
unittest
.
TestCase
):
class
TestCollection
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
webdav.Collection
import
Collection
from
webdav.Collection
import
Collection
from
webdav.interfaces
import
IDAVCollection
from
webdav.interfaces
import
IDAVCollection
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/webdav/tests/testEtagSupport.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestEtagSupport
(
unittest
.
TestCase
):
class
TestEtagSupport
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
from
webdav.EtagSupport
import
EtagBaseInterface
from
webdav.EtagSupport
import
EtagBaseInterface
from
webdav.EtagSupport
import
EtagSupport
from
webdav.EtagSupport
import
EtagSupport
...
...
src/webdav/tests/testLockItem.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestLockItem
(
unittest
.
TestCase
):
class
TestLockItem
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
webdav.interfaces
import
ILockItem
from
webdav.interfaces
import
ILockItem
from
webdav.LockItem
import
LockItem
from
webdav.LockItem
import
LockItem
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/webdav/tests/testNullResource.py
View file @
e7ef98ab
...
@@ -3,7 +3,7 @@ import unittest
...
@@ -3,7 +3,7 @@ import unittest
class
TestLockNullResource
(
unittest
.
TestCase
):
class
TestLockNullResource
(
unittest
.
TestCase
):
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
from
webdav.NullResource
import
LockNullResource
from
webdav.NullResource
import
LockNullResource
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
@@ -20,7 +20,7 @@ class TestNullResource(unittest.TestCase):
...
@@ -20,7 +20,7 @@ class TestNullResource(unittest.TestCase):
def
_makeOne
(
self
,
parent
=
None
,
name
=
'nonesuch'
,
**
kw
):
def
_makeOne
(
self
,
parent
=
None
,
name
=
'nonesuch'
,
**
kw
):
return
self
.
_getTargetClass
()(
parent
,
name
,
**
kw
)
return
self
.
_getTargetClass
()(
parent
,
name
,
**
kw
)
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
from
zope.interface.verify
import
verifyClass
from
zope.interface.verify
import
verifyClass
...
...
src/webdav/tests/testResource.py
View file @
e7ef98ab
...
@@ -45,7 +45,7 @@ class TestResource(unittest.TestCase):
...
@@ -45,7 +45,7 @@ class TestResource(unittest.TestCase):
inst
=
klass
()
inst
=
klass
()
return
inst
return
inst
def
test_
z3
interfaces
(
self
):
def
test_interfaces
(
self
):
from
webdav.interfaces
import
IDAVResource
from
webdav.interfaces
import
IDAVResource
from
webdav.interfaces
import
IWriteLock
from
webdav.interfaces
import
IWriteLock
Resource
=
self
.
_getTargetClass
()
Resource
=
self
.
_getTargetClass
()
...
...
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