[Zope-Checkins] CVS: Packages/ZPublisher/tests -
testIterators.py:1.1.2.1
Chris McDonough
chrism at plope.com
Wed Jan 26 00:26:30 EST 2005
Update of /cvs-repository/Packages/ZPublisher/tests
In directory cvs.zope.org:/tmp/cvs-serv21312/tests
Added Files:
Tag: Zope-2_7-branch
testIterators.py
Log Message:
The IStreamIterator interface had inappropriate self arguments defined in its method defs.
=== Added File Packages/ZPublisher/tests/testIterators.py ===
import unittest
from Interface.Verify import verifyClass
from ZPublisher.Iterators import IStreamIterator, filestream_iterator
class TestFileStreamIterator(unittest.TestCase):
def testInterface(self):
verifyClass(IStreamIterator, filestream_iterator)
def test_suite():
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( TestFileStreamIterator ) )
return suite
def main():
unittest.main(defaultTest='test_suite')
if __name__ == '__main__':
main()
More information about the Zope-Checkins
mailing list