def setUp(self):
    super(TestRequestContextSerializer, self).setUp()
    self.mock_base = mock.Mock()
    self.ser = rpc.RequestContextSerializer(self.mock_base)
    self.ser_null = rpc.RequestContextSerializer(None)
def setUp(self):
    super(TestRequestContextSerializer, self).setUp()
    self.mock_base = mock.Mock()
    self.ser = rpc.RequestContextSerializer(self.mock_base)
    self.ser_null = rpc.RequestContextSerializer(None)