Table of Contents

Module: test_pb Twisted-0.19.0/twisted/test/test_pb.py

Tests for Pespective Broker module.

Imported modules   
from cStringIO import StringIO
import os
from pyunit import unittest
import sys
from twisted.cred import identity
from twisted.internet import reactor
from twisted.internet.app import Application
from twisted.protocols import protocol
from twisted.python import defer, failure, log
from twisted.spread import pb, util, publish
Functions   
connectedServerAndClient
createFactoryCopy
  connectedServerAndClient 
connectedServerAndClient ()

Returns a 3-tuple: (client, server, pump)

  createFactoryCopy 
createFactoryCopy ( state )

Exceptions   
"factory class has no ID: %s" % SimpleFactoryCopy.allIDs
"factory copy state has no 'id' member %s" % repr( state )
"factory method found no object with id"
Classes   
BadCopySet
BadCopyable
BrokerTestCase
DeferredRemote
DisconnectionTestCase

Test disconnection callbacks.

DumbPub
DumbPublishable
Dummy
DummyPerspective
DummyService

A dummy PB service to test with.

GetPublisher
IOPump

Utility to pump data between clients and servers for protocol testing.

LocalRemoteTest
NestedCache
NestedComplicatedCache
NestedCopy
NestedRemote
Observable
Observer
RatherBaroqueCache
SimpleCache
SimpleCopy
SimpleFactoryCopy
SimpleLocalCache
SimpleLocalCopy
SimpleRemote
SpreadUtilTestCase

Tests for twisted.spread.util

VeryVeryComplicatedCacheable

Table of Contents

This document was automatically generated on Sun Jul 14 19:53:27 2002 by HappyDoc version 2.0