def setUp(self):
     super(OperationLogMiddlewareTest, self).setUp()
     self.factory = test.RequestFactoryWithMessages()
Example #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()
Example #3
0
 def setUp(self):
     super().setUp()
     self.factory = test.RequestFactoryWithMessages()