Commit 88dbde08 authored by Łukasz Nowak's avatar Łukasz Nowak

Pin DateTime to test correctly time.

parent 228e1bb1
......@@ -67,12 +67,14 @@ class TestSlapOSSlapToolMixin(testSlapOSMixin):
self.tic()
self.computer_id = self.computer.getReference()
self.pinDateTime(DateTime())
def _cleaupREQUEST(self):
self.portal.REQUEST['request_instance'] = None
self.portal.REQUEST.headers = {}
def beforeTearDown(self):
self.unpinDateTime()
self._cleaupREQUEST()
def _makeComplexComputer(self):
......
139
\ No newline at end of file
140
\ 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