Changeset 1056 in main


Ignore:
Timestamp:
04/27/12 07:17:49 (7 years ago)
Author:
pcosquer
Message:

fix MechantUserView? test case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/tests/views.py

    r927 r1056  
    25732573        obj = m.get_all_plmobjects()[self.TYPE].objects.all()[0] 
    25742574        self.assertEqual(obj.name, '') 
    2575         self.assertEqual(response.template.name, "error.html") 
     2575        self.assertTemplateUsed(response, "error.html") 
    25762576 
    25772577class SpecialCharactersPartViewTestCase(PartViewTestCase): 
Note: See TracChangeset for help on using the changeset viewer.