Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CVS

SVN: zope.pytz/trunk/src/zope/ Updated the tests.

 

 

Zope cvs RSS feed   Index | Next | Previous | View Threaded


jim at zope

Nov 17, 2005, 1:55 PM

Post #1 of 1 (550 views)
Permalink
SVN: zope.pytz/trunk/src/zope/ Updated the tests.

Log message for revision 40202:
Updated the tests.

Gave up on trying to test separately from a zope installation. The web
of dependencies is too large. We really need to clean up the
dependincies.


Changed:
D zope.pytz/trunk/src/zope/app/
A zope.pytz/trunk/src/zope/pytz/browser/tests.py
U zope.pytz/trunk/src/zope/pytz/browser/tzterms.txt

-=-
Added: zope.pytz/trunk/src/zope/pytz/browser/tests.py
===================================================================
--- zope.pytz/trunk/src/zope/pytz/browser/tests.py 2005-11-17 21:48:34 UTC (rev 40201)
+++ zope.pytz/trunk/src/zope/pytz/browser/tests.py 2005-11-17 21:55:38 UTC (rev 40202)
@@ -0,0 +1,28 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""XXX short summary goes here.
+
+$Id$
+"""
+import unittest
+from zope.testing import doctest
+
+def test_suite():
+ return unittest.TestSuite((
+ doctest.DocFileSuite('tzterms.txt'),
+ ))
+
+if __name__ == '__main__':
+ unittest.main(defaultTest='test_suite')
+


Property changes on: zope.pytz/trunk/src/zope/pytz/browser/tests.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native

Modified: zope.pytz/trunk/src/zope/pytz/browser/tzterms.txt
===================================================================
--- zope.pytz/trunk/src/zope/pytz/browser/tzterms.txt 2005-11-17 21:48:34 UTC (rev 40201)
+++ zope.pytz/trunk/src/zope/pytz/browser/tzterms.txt 2005-11-17 21:55:38 UTC (rev 40202)
@@ -5,10 +5,10 @@
are used to get time-zone descriptions. The time-zone descriptions
simply wrap the original time-zone identifiers in message ids.

- >>> import zope.pytz.browser.terms
+ >>> import zope.pytz.browser.tzterms
>>> import zope.pytz.source
>>> import zope.publisher.browser
- >>> terms = import zope.pytz.browser.terms.TimeZoneTerms(
+ >>> terms = import zope.pytz.browser.tzterms.TimeZoneTerms(
... zope.pytz.source.AvailableTimeZones(),
... zope.publisher.browser.TestRequest,
... )

_______________________________________________
Zope-CVS maillist - Zope-CVS [at] zope
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS

Zope cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.