r13588 - ArchGenXML/trunk/src/archgenxml/tests

"Thomas Desvenain" <[email protected]> Thu, 14 Apr 2011 22:04:56 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: thomasdesvenain
Date: Thu Apr 14 22:04:55 2011
New Revision: 13588

Modified:
   ArchGenXML/trunk/src/archgenxml/tests/testArcheTypesGenerator.py
Log:
tests pass : avoid current year in assertions...

Modified: ArchGenXML/trunk/src/archgenxml/tests/testArcheTypesGenerator.py
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/tests/testArcheTypesGenerator.py	(original)
+++ ArchGenXML/trunk/src/archgenxml/tests/testArcheTypesGenerator.py	Thu Apr 14 22:04:55 2011
@@ -86,7 +86,8 @@
         self.options.update(author='Äöü€')
         generator = ArchetypesGenerator('/dev/null', **self.options)
         result = generator.generateModuleInfoHeader(self.model)
-        assert u'Copyright (c) 2010 by Äöü€ <[email protected]>' in result
+        assert u'Copyright (c) 20' in result
+        assert u'by Äöü€ <[email protected]>' in result
 
 
 def test_suite():

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Archetypes-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/archetypes-checkins