twisted.application.test.test_internet module documentationtwisted.application.test
Tests for (new code in) twisted.application.internet.
| Variable | AT_LEAST_ONE_ATTEMPT | At least enough seconds for ClientService
to make one attempt. |
| Function | fakeTargetFunction | A fake target function for testing TimerService which does nothing. |
| Class | FakeServer | In-memory implementation of IStreamServerEndpoint. |
| Class | FakePort | Fake IListeningPort
implementation. |
| Class | EndpointServiceTests | Tests for twisted.application.internet. |
| Class | TimerServiceTests | Tests for twisted.application.internet.TimerService. |
| Class | ConnectInformation | Information about endpointForTesting |
| Function | endpointForTesting | Make a sample endpoint for testing. |
| Function | catchLogs | Catch the global log stream. |
| Class | ClientServiceTests | Tests for ClientService. |
Make a sample endpoint for testing.
| Parameters | fireImmediately | If true, fire all Deferreds
returned from connect immedaitely. |
| Returns | a 2-tuple of (information, endpoint), where
information is a ConnectInformation
describing the operations in progress on endpoint. | |