@mock.patch.object(systemconfig.gmacpyutil, 'RunProcess')
  def testGetSystemProfilerOutput(self, mock_rp):
    mock_rp.return_value = ['output', None, 0]
    sp = systemconfig.SystemProfiler()
    self.assertEqual('output', sp._GetSystemProfilerOutput('sp_type'))
Test _GetSystemProfilerOutput().
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/systemconfig_test.py/SystemProfilerTest.testGetSystemProfilerOutput