summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/dsdb.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-20 01:28:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 01:30:51 +0200
commit1d86414eb022bd8c4d86bdab094a06f43e4eb10c (patch)
tree2078c546de51abcf7aa8a9e2b4501e587ef8a0cc /source4/scripting/python/samba/tests/dsdb.py
parentb48182007c53faebb0a57cefb5e1923a3bef5851 (diff)
downloadsamba-1d86414eb022bd8c4d86bdab094a06f43e4eb10c.tar.gz
samba-1d86414eb022bd8c4d86bdab094a06f43e4eb10c.tar.bz2
samba-1d86414eb022bd8c4d86bdab094a06f43e4eb10c.zip
samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.
Diffstat (limited to 'source4/scripting/python/samba/tests/dsdb.py')
-rw-r--r--source4/scripting/python/samba/tests/dsdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/dsdb.py b/source4/scripting/python/samba/tests/dsdb.py
index 24a2888bf3..00dc6644cb 100644
--- a/source4/scripting/python/samba/tests/dsdb.py
+++ b/source4/scripting/python/samba/tests/dsdb.py
@@ -38,5 +38,5 @@ class DsdbTests(TestCase):
session = system_session()
test_ldb = SamDB(os.path.join(self._baseprovpath(), "private", "sam.ldb"),
session_info=session, credentials=creds,lp=lp)
- oid = test_ldb.dsdb_get_oid_from_attid(591614)
+ oid = test_ldb.get_oid_from_attid(591614)
self.assertEquals(oid, "1.2.840.113556.1.4.1790")