[Zope3-checkins] CVS: Zope3/src/zope/interface/common/tests - test_idatetime.py:1.2

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 5 May 2003 04:26:15 -0400


Update of /cvs-repository/Zope3/src/zope/interface/common/tests
In directory cvs.zope.org:/tmp/cvs-serv15943/tests

Modified Files:
	test_idatetime.py 
Log Message:
Updated interface declarations to the new style.


=== Zope3/src/zope/interface/common/tests/test_idatetime.py 1.1 => 1.2 ===
--- Zope3/src/zope/interface/common/tests/test_idatetime.py:1.1	Wed Apr 23 09:37:44 2003
+++ Zope3/src/zope/interface/common/tests/test_idatetime.py	Mon May  5 04:26:14 2003
@@ -22,7 +22,7 @@
 from zope.interface.common.idatetime import ITimeDelta, ITimeDeltaClass
 from zope.interface.common.idatetime import IDate, IDateClass
 from zope.interface.common.idatetime import IDateTime, IDateTimeClass
-from zope.interface.common.idatetime import ITime, ITimeClass, ITZInfoClass
+from zope.interface.common.idatetime import ITime, ITimeClass, ITZInfo
 from datetime import timedelta, date, datetime, time, tzinfo
 
 class TestDateTimeInterfaces(unittest.TestCase):
@@ -32,11 +32,11 @@
         verifyObject(IDate, date(2000, 1, 2))
         verifyObject(IDateTime, datetime(2000, 1, 2, 10, 20))
         verifyObject(ITime, time(20, 30, 15, 1234))
+        verifyObject(ITZInfo, tzinfo())
         verifyClass(ITimeDeltaClass, timedelta)
         verifyClass(IDateClass, date)
         verifyClass(IDateTimeClass, datetime)
         verifyClass(ITimeClass, time)
-        verifyClass(ITZInfoClass, tzinfo)
 
 
 def test_suite():