def test_certonly_bad_args(self):
    try:
        self._call(['-a', 'bad_auth', 'certonly'])
        assert False, 'Exception should have been raised'
    except errors.PluginSelectionError as e:
        self.assertTrue(('The requested bad_auth plugin does not appear' in str(e)))
def test_certonly_bad_args(self):
    try:
        self._call(['-a', 'bad_auth', 'certonly'])
        assert False, 'Exception should have been raised'
    except errors.PluginSelectionError as e:
        self.assertTrue(('The requested bad_auth plugin does not appear' in str(e)))