Jump to revision: | |
---|---|
Author: | pje |
Date: | Sat Feb 7 20:02:19 2004 UTC (20 years, 2 months ago) |
Log Message:
Added 'peak.util.mockets', offering imitation socket services like 'socket()' and 'select()', allowing socket-based services to be tested without using real sockets. So far only emulates TCP streams, and no other protocols, with certain socket methods omitted. Needs to be used to test 'peak.events.io_events.Selector', and as a basis for testing/implementing nonblocking socket objects for 'peak.net'.
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/src/peak/util/mockets.py | added | X | X | |
PEAK/src/peak/util/tests/__init__.py | modified | X | (diff to previous) | |
PEAK/src/peak/util/tests/test_mockets.py | added | X | X |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |