def test_serialize_context(self):
    context = mock.Mock()
    self.ser.serialize_context(context)
    context.to_dict.assert_called_once_with()
def test_serialize_context(self):
    context = mock.Mock()
    self.ser.serialize_context(context)
    context.to_dict.assert_called_once_with()