@RequireTestImage
  def testFileOutput(self):
    request = rdf_rekall_types.RekallRequest()
    request.plugins = [
        # Run procdump to create one file.
        rdf_rekall_types.PluginRequest(
            plugin="procdump", args=dict(pid=2860))]

    with test_lib.Instrument(transfer.MultiGetFile,
                             "StoreStat") as storestat_instrument:
      self.LaunchRekallPlugin(request)
      # Expect one file to be downloaded.
      self.assertEqual(storestat_instrument.call_count, 1)
Tests that a file can be written by a plugin and retrieved.
dataset/ETHPy150Open google/grr/grr/client/components/rekall_support/grr_rekall_test.py/RekallTests.testFileOutput