Back to index

plone3  3.1.7
Public Member Functions
Archetypes.tests.test_marshaller.PdataStreamTests Class Reference
Inheritance diagram for Archetypes.tests.test_marshaller.PdataStreamTests:
Inheritance graph
Collaboration diagram for Archetypes.tests.test_marshaller.PdataStreamTests:
Collaboration graph

List of all members.

Public Member Functions

def test_iterator

Detailed Description

Definition at line 146 of file

Member Function Documentation

Definition at line 148 of file

00149     def test_iterator(self):
00150         start = pdata = Pdata('blob')
00151         for i in range(0, 5):
00152    = Pdata('bla')
00153             pdata =
00154         iterator = PdataStreamIterator(start, size=19, streamsize=6)
00155         expected = ['blobbl', 'ablabl', 'ablabl', 'a']
00156         self.assertEquals(list(iterator), expected)

The documentation for this class was generated from the following file: