Commit 14a0b4aa authored by Sebastian's avatar Sebastian

Changed to clone/delete to keep the test-files clean

parent 809d4c58
......@@ -42,13 +42,13 @@ class Test(ERP5TypeTestCase):
def afterSetUp(self):
self.portal = self.getPortalObject()
self.test_id_list = ["20141016-14ABCCD", "20130310-A7476B", "20130228-55CF76", "20130301-254E01", "20120817-6464C7", "20141104-29F35D6"]
#self.test_set_list = [self.portal.answer_set_module[idd].Base_createCloneDocument(batch_mode=1) for idd in self.test_id_list]
self.test_set_list = [self.portal.answer_set_module[idd] for idd in self.test_id_list]
#self.tic()
self.test_set_list = [self.portal.answer_set_module[idd].Base_createCloneDocument(batch_mode=1) for idd in self.test_id_list]
#self.test_set_list = [self.portal.answer_set_module[idd] for idd in self.test_id_list]
self.tic()
def beforeTearDown(self):
#self.portal.answer_set_module.manage_delObjects([ans.getId() for ans in self.test_set_list])
#self.tic()
self.portal.answer_set_module.manage_delObjects([ans.getId() for ans in self.test_set_list])
self.tic()
pass
......
......@@ -46,6 +46,7 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 52, 4: Unnecessary pass statement (unnecessary-pass)</string>
<string>W: 95, 4: Unused variable \'uncachedResults\' (unused-variable)</string>
<string>W: 90, 6: Unused variable \'existing_suggestion\' (unused-variable)</string>
</tuple>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment