E&S CVS Commit: PEAK - Added 'peak.util.mockets', offering imitation socket services like

pje at eby-sarna.com pje at eby-sarna.com
Sat Feb 7 15:03:00 EST 2004


Module Name:	PEAK
Committed By:	pje
Date:		Sat Feb  7 20:02:19 UTC 2004

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/util/tests: __init__.py
Added Files:
	PEAK/src/peak/util: mockets.py
	PEAK/src/peak/util/tests: test_mockets.py

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'.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.130&r2=1.131
http://cvs.eby-sarna.com/PEAK/src/peak/util/mockets.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/util/tests/__init__.py.diff?r1=1.12&r2=1.13
http://cvs.eby-sarna.com/PEAK/src/peak/util/tests/test_mockets.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.130 -r1.131 PEAK/CHANGES.txt
cvs rdiff -r0 -r1.1 PEAK/src/peak/util/mockets.py
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/util/tests/__init__.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/util/tests/test_mockets.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list