@mock.patch.object(experiments, 'InExperiment', return_value=(False, 'auto'))
  @mock.patch.object(experiments, 'Output')
  @mock.patch.object(experiments, 'GetExperiments')
  def testMainWithFormatting(self, mock_getexp, mock_output, mock_inexp):
    mock_getexp.return_value = SAMPLE_50_EXPERIMENT
    experiments.main(['', '-F'])
    self.assertTrue(mock_getexp.called)
    self.assertTrue(mock_inexp.called)
    mock_output.assert_called_with('%s,false' % EXP_NAME)
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/experiments_test.py/ExperimentsModuleTest.testMainWithFormatting/original