summaryrefslogtreecommitdiffstats
path: root/ipsilon/login/authtest.py
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-02-04 10:58:14 +0100
committerRob Crittenden <rcritten@redhat.com>2015-02-26 15:18:02 -0500
commit7ad204c13898245cdea5acfa90be83e767276994 (patch)
tree44775ee20dd1b72fa5688acf1d4e2b838f349dd6 /ipsilon/login/authtest.py
parent1d2fda874a7285e88b9aac870e7d9bc998fe7464 (diff)
downloadipsilon-7ad204c13898245cdea5acfa90be83e767276994.tar.gz
ipsilon-7ad204c13898245cdea5acfa90be83e767276994.tar.xz
ipsilon-7ad204c13898245cdea5acfa90be83e767276994.zip
Add uninstallation support.
As part of this, made all plugins use a Installer baseclass. https://fedorahosted.org/ipsilon/ticket/38 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipsilon/login/authtest.py')
-rw-r--r--ipsilon/login/authtest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipsilon/login/authtest.py b/ipsilon/login/authtest.py
index 39e0f39..6c11ba1 100644
--- a/ipsilon/login/authtest.py
+++ b/ipsilon/login/authtest.py
@@ -15,7 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from ipsilon.login.common import LoginFormBase, LoginManagerBase
+from ipsilon.login.common import LoginFormBase, LoginManagerBase, \
+ LoginManagerInstaller
from ipsilon.util.plugin import PluginObject
from ipsilon.util import config as pconfig
import cherrypy
@@ -97,11 +98,11 @@ Form based TEST login Manager, DO NOT EVER ACTIVATE IN PRODUCTION """
return self.page
-class Installer(object):
+class Installer(LoginManagerInstaller):
def __init__(self, *pargs):
+ super(Installer, self).__init__()
self.name = 'testauth'
- self.ptype = 'login'
self.pargs = pargs
def install_args(self, group):