def setUp(self):
     super(OperationLogMiddlewareTest, self).setUp()
     self.factory = test.RequestFactoryWithMessages()
示例#2
0
 def setUp(self):
     self._timezone_backup = timezone.get_current_timezone_name()
     self.factory = test.RequestFactoryWithMessages()
     self.get_response = mock.Mock()
     super(MiddlewareTests, self).setUp()
示例#3
0
 def setUp(self):
     super().setUp()
     self.factory = test.RequestFactoryWithMessages()