

def test_help(self):
    command = ['help']
    pants_run = self.run_pants(command=command)
    pants_run.assert_success(pants_run)
    self.assertIn('Usage:', pants_run.stdout_data)
    self.assertIn('--level', pants_run.stdout_data)
    self.assertIn('Global options:', pants_run.stdout_data)

dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/help/test_help_integration.py TestHelpIntegration.test_help/VarMisuse@27/34 `self`->`pants_run`