Commit add65e9f authored by Łukasz Nowak's avatar Łukasz Nowak

Cleanup REQUEST after setup and between runs.

parent 40db81a5
...@@ -69,7 +69,7 @@ class TestSlapOSSlapToolMixin(testSlapOSMixin): ...@@ -69,7 +69,7 @@ class TestSlapOSSlapToolMixin(testSlapOSMixin):
self.computer_id = self.computer.getReference() self.computer_id = self.computer.getReference()
def beforeTearDown(self): def beforeTearDown(self):
pass self.portal.REQUEST['request_instance'] = None
def _makeComplexComputer(self): def _makeComplexComputer(self):
for i in range(1, 5): for i in range(1, 5):
...@@ -240,6 +240,7 @@ class TestSlapOSSlapToolMixin(testSlapOSMixin): ...@@ -240,6 +240,7 @@ class TestSlapOSSlapToolMixin(testSlapOSMixin):
self.destroyed_software_instance.invalidate() self.destroyed_software_instance.invalidate()
self.tic() self.tic()
self.portal.REQUEST['request_instance'] = None
class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin): class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
def _getPartitionXml(self): def _getPartitionXml(self):
......
132 133
\ No newline at end of file \ No newline at end of file
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