summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_backend.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-23 15:53:45 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:03 -0500
commit0cfb0e191ad878d1b22e98ce484bf3048f7138c2 (patch)
treeba468c284cd37e89f649d6de31c58000bcca64dc /tests/test_ipalib/test_backend.py
parentf7375bb6090f32c3feb3d71e196ed01ee19fecc8 (diff)
downloadfreeipa-0cfb0e191ad878d1b22e98ce484bf3048f7138c2.tar.gz
freeipa-0cfb0e191ad878d1b22e98ce484bf3048f7138c2.tar.xz
freeipa-0cfb0e191ad878d1b22e98ce484bf3048f7138c2.zip
Removed the depreciated Context and LazyContext classes
Diffstat (limited to 'tests/test_ipalib/test_backend.py')
-rw-r--r--tests/test_ipalib/test_backend.py18
1 files changed, 0 insertions, 18 deletions
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()'