Changeset 1503 in main


Ignore:
Timestamp:
07/18/12 14:51:10 (9 years ago)
Author:
pcosquer
Message:

document3D: remove non determinist test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/apps/document3D/tests/views.py

    r1465 r1503  
    186186        self.assertTrue(reponse.context["extra_errors"].startswith(u"Columns reference, type, revision are not unique")) 
    187187 
    188  
    189     def test_display_decompose_Document3D_decomposer_Error(self): 
    190         f=open("apps/document3D/data_test/test.stp") 
    191         myfile = File(f) 
    192         new_doc_file=self.document.add_file(myfile) 
    193         self.controller.attach_to_document(self.document.object) 
    194         data=self.update_data(new_doc_file) 
    195         GeometryFile.objects.filter(stp=new_doc_file).delete() 
    196         url = u"%sdecompose/%d/" % (self.base_url, new_doc_file.id) 
    197         response = self.client.post(url, data) 
    198         self.assertTemplateUsed(response, "error.html") 
    199188 
    200189def decomposition_fromPOST_data(data,product,index,group,lifecycle,part_type): 
Note: See TracChangeset for help on using the changeset viewer.