[CalendarServer-changes] [9069] CalendarServer/branches/users/glyph/ipv6-client/twext/internet/test/ test_adaptendpoint.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 13 11:45:03 PDT 2012
Revision: 9069
http://trac.macosforge.org/projects/calendarserver/changeset/9069
Author: glyph at apple.com
Date: 2012-04-13 11:45:03 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
if -> when
Modified Paths:
--------------
CalendarServer/branches/users/glyph/ipv6-client/twext/internet/test/test_adaptendpoint.py
Modified: CalendarServer/branches/users/glyph/ipv6-client/twext/internet/test/test_adaptendpoint.py
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/twext/internet/test/test_adaptendpoint.py 2012-04-13 18:44:56 UTC (rev 9068)
+++ CalendarServer/branches/users/glyph/ipv6-client/twext/internet/test/test_adaptendpoint.py 2012-04-13 18:45:03 UTC (rev 9069)
@@ -188,7 +188,7 @@
def test_disconnectWhileConnecting(self):
"""
- If the L{IConnector} is told to C{disconnect} before an in-progress
+ When the L{IConnector} is told to C{disconnect} before an in-progress
L{Deferred} from C{connect} has fired, it will cancel that L{Deferred}.
"""
self.connector.disconnect()
@@ -198,7 +198,7 @@
def test_disconnectWhileConnected(self):
"""
- If the L{IConnector} is told to C{disconnect} while an existing
+ When the L{IConnector} is told to C{disconnect} while an existing
connection is established, that connection will be dropped via
C{loseConnection}.
"""
@@ -209,7 +209,7 @@
def test_connectAfterFailure(self):
"""
- If the L{IConnector} is told to C{connect} after a connection attempt
+ When the L{IConnector} is told to C{connect} after a connection attempt
has failed, a new connection attempt is started.
"""
why = Failure(ZeroDivisionError())
@@ -222,7 +222,7 @@
def test_reConnectTooSoon(self):
"""
- If the L{IConnector} is told to C{connect} while another attempt is
+ When the L{IConnector} is told to C{connect} while another attempt is
still in flight, it synchronously raises L{RuntimeError}.
"""
self.assertRaises(RuntimeError, self.connector.connect)
@@ -230,5 +230,3 @@
self.assertEqual(len(self.endpoint.attempts), 1)
-
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/9de06d7f/attachment.html>
More information about the calendarserver-changes
mailing list