From 0cfb0e191ad878d1b22e98ce484bf3048f7138c2 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 23 Jan 2009 15:53:45 -0700 Subject: Removed the depreciated Context and LazyContext classes --- tests/test_ipalib/test_backend.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'tests') diff --git a/tests/test_ipalib/test_backend.py b/tests/test_ipalib/test_backend.py index e9e17b92e..b7a9765dc 100644 --- a/tests/test_ipalib/test_backend.py +++ b/tests/test_ipalib/test_backend.py @@ -210,21 +210,3 @@ class test_Executioner(ClassChecker): e = raises(errors2.InternalError, o.execute, 'bad') assert conn.closed is True # Make sure destroy_context() was called assert context.__dict__.keys() == [] - - -class test_Context(ClassChecker): - """ - Test the `ipalib.backend.Context` class. - """ - - _cls = backend.Context - - def test_get_value(self): - """ - Test the `ipalib.backend.Context.get_value` method. - """ - class Subclass(self.cls): - pass - o = Subclass() - e = raises(NotImplementedError, o.get_value) - assert str(e) == 'Subclass.get_value()' -- cgit