code: def test_result(self):
      ip = get_ipython()
      v = self.client[-1]
      v.activate()
      data = dict(a=111, b=222)
      v.push(data, block=True)
  
      for name in ("a", "b"):
          ip.run_line_magic("px", name)
          with capture_output(display=False) as io:
              ip.run_line_magic("pxresult", "")
          assert str(data[name]) in io.stdout
  
imports: import re
  import signal
  import sys
  import time
  import pytest
  from IPython import get_ipython
  from IPython.utils.io import capture_output
  import ipyparallel
  from ipyparallel import AsyncResult
  from .clienttest import ClusterTestCase, generate_output, raises_remote
label_desc: Use image node_id 16 for calling the TestParallelMagics obj's underlying member method code with example usage: obj.test_result() without return types