'Test that the --help-auth-for argument will correctly display
the help file for a particular authentication plugin.'

def test_displaysHelpCorrectly(self):

    newStdout = StringIO()
    options = DummyOptions()
    options.authOutput = newStdout
    self.assertRaises(SystemExit, options.parseOptions, ['--help-auth-type', 'file'])
    for line in cred_file.theFileCheckerFactory.authHelp:
        if line.strip():
            self.assertIn(line.strip(), newStdout.getvalue())
