'Test that the --auth command line raises an exception when it
gets a parameter it doesn\'t understand.'

def test_invalidAuthError(self):

    options = DummyOptions()
    invalidParameter = getInvalidAuthType()
    self.assertRaises(usage.UsageError, options.parseOptions, ['--auth', invalidParameter])
    self.assertRaises(usage.UsageError, options.parseOptions, ['--help-auth-type', invalidParameter])
