Hi,

I've started working on some tests for a browser view and was looking at  
the ursa globals tests for inspiration. It looks to me that there is a  
duplicate test method

li. 278ff:

     def test_status_message_missing(self):
         view = self._makeOne()
         view.request.form = {}
         self.assertEqual(view.status_message, None)

     def test_status_message_missing(self):
         view = self._makeOne()
         view.request.form = {'portal_status_message': 'FOO'}
         self.assertEqual(view.status_message, 'FOO')

I think the second method should probably be called test_status_message.  
Do duplicate method names in tests mean that only one of the tests will  
run?

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to