[Checkins] SVN: zc.async/trunk/src/zc/async/testing.txt Fixed broken test.
Aaron Lehmann
aaron at zope.com
Thu Jul 16 17:54:25 EDT 2009
Log message for revision 101954:
Fixed broken test.
Changed:
U zc.async/trunk/src/zc/async/testing.txt
-=-
Modified: zc.async/trunk/src/zc/async/testing.txt
===================================================================
--- zc.async/trunk/src/zc/async/testing.txt 2009-07-16 21:29:40 UTC (rev 101953)
+++ zc.async/trunk/src/zc/async/testing.txt 2009-07-16 21:54:25 UTC (rev 101954)
@@ -1,10 +1,17 @@
-Testing Edge Case
-=================
+Testing Edge Cases
+==================
+
+_datetime Edge Case
+-------------------
+
This tests that the _datetime class provided in the zc.asynt.testing module
takes correctly named arguments to its now method.
>>> import zc.async.testing
>>> import datetime
>>> dt_now = datetime.datetime.now(tz=None)
+ >>> zc.async.testing.set_now(dt_now) #set the frozen now
>>> z_a_t_dt_now = zc.async.testing._datetime.now(tz=None)
+
+
More information about the Checkins
mailing list