summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/python')
-rw-r--r--source4/lib/tdb/python/tests/simple.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tdb/python/tests/simple.py b/source4/lib/tdb/python/tests/simple.py
index 0e0ef0251e..698a77f942 100644
--- a/source4/lib/tdb/python/tests/simple.py
+++ b/source4/lib/tdb/python/tests/simple.py
@@ -44,9 +44,9 @@ class SimpleTdbTests(TestCase):
def test_store(self):
self.tdb.store("bar", "bla")
- self.assertEquals("bla", self.tdb.fetch("bar"))
+ self.assertEquals("bla", self.tdb.get("bar"))
- def test_fetch(self):
+ def test_getitem(self):
self.tdb["bar"] = "foo"
self.tdb.reopen()
self.assertEquals("foo", self.tdb["bar"])