def test_030_task_help__parameter(self):
    'Should show task help texts from docstring or configuration'
    caller = self.get_caller([ConfigurationPlugin])
    with unittest.mock.patch('sys.stdout', new=io.StringIO()) as stdout:
        with self.assertRaises(SystemExit):
            caller('parameter-help', '--help')
        stdout.seek(0)
        output = stdout.read()
    print(output)
    self.assertNotRegex(output, 'This is the documentation string for the ConfigurationPlugin')
    self.assertRegex(output, 'This is the documentation for the parameter_help task')
    self.assertRegex(output, 'This is the documentation for the choice parameter of the\\n.*parameter_help task')
Should show task help texts from docstring or configuration
def test_030_task_help__parameter(self):
    
    caller = self.get_caller([ConfigurationPlugin])
    with unittest.mock.patch('sys.stdout', new=io.StringIO()) as stdout:
        with self.assertRaises(SystemExit):
            caller('parameter-help', '--help')
        stdout.seek(0)
        output = stdout.read()
    print(output)
    self.assertNotRegex(output, 'This is the documentation string for the ConfigurationPlugin')
    self.assertRegex(output, 'This is the documentation for the parameter_help task')
    self.assertRegex(output, 'This is the documentation for the choice parameter of the\\n.*parameter_help task')