From 887016e69d6678892a2ff53735623ce5d413b074 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 8 Oct 2008 18:18:13 -0600 Subject: Base Command.execute() method now raises NotImplementedError; updated unit tests --- tests/test_ipalib/test_frontend.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_ipalib/test_frontend.py') diff --git a/tests/test_ipalib/test_frontend.py b/tests/test_ipalib/test_frontend.py index b798d2ee7..89b77ad71 100644 --- a/tests/test_ipalib/test_frontend.py +++ b/tests/test_ipalib/test_frontend.py @@ -685,6 +685,9 @@ class test_Command(ClassChecker): Test the `ipalib.frontend.Command.execute` method. """ assert 'execute' in self.cls.__public__ # Public + o = self.cls() + e = raises(NotImplementedError, o.execute) + assert str(e) == 'Command.execute()' def test_args_to_kw(self): """ -- cgit