[CMF-checkins] CVS: CMF/CMFDefault/tests - test_Link.py:1.2.2.3

Andrew Sawyers andrew@zope.com
Tue, 8 Jan 2002 16:21:47 -0500


Update of /cvs-repository/CMF/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv28299/CMFDefault/tests

Modified Files:
      Tag: CMF-1_2-branch
	test_Link.py 
Log Message:

*Fixed where new instances of Link were not getting the proper
format set to 'text/url'.
*Added unittests for format and URL_FORMAT.
*Updated changes to CHANGES.txt


=== CMF/CMFDefault/tests/test_Link.py 1.2.2.2 => 1.2.2.3 ===
         self.assertEqual( d.Description(), '' )
         self.assertEqual( d.getRemoteUrl(), '' )
+        self.assertEqual( d.format, 'text/url' )
+        self.assertEqual( d.URL_FORMAT, 'text/url')
 
     def test_StructuredText( self ):
         d = Link('foo')