'Test that the --help-auth argument correctly displays all
available authentication plugins, then exits.'

def test_displaysListCorrectly(self):

    newStdout = StringIO()
    options = DummyOptions()
    options.authOutput = newStdout
    self.assertRaises(SystemExit, options.parseOptions, ['--help-auth'])
    for checkerFactory in strcred.findCheckerFactories():
        self.assertIn(checkerFactory.authType, newStdout.getvalue())
