summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-21 16:45:06 +1300
committerJelmer Vernooij <jelmer@samba.org>2010-01-21 16:45:06 +1300
commit05b4e29f7f35108a7a17f072dc1329fc14d6b9ea (patch)
tree7d1c09cef9e1486a6a5811b92a976edb296795f8 /source4
parent14b0fed96c5d5acf9118156d29e469aed584c33d (diff)
downloadsamba-05b4e29f7f35108a7a17f072dc1329fc14d6b9ea.tar.gz
samba-05b4e29f7f35108a7a17f072dc1329fc14d6b9ea.tar.bz2
samba-05b4e29f7f35108a7a17f072dc1329fc14d6b9ea.zip
pyxattr: Fix tests by not opening tdb files multiple times.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/xattr.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/xattr.py b/source4/scripting/python/samba/tests/xattr.py
index 41a22b7706..7133a2b5b3 100644
--- a/source4/scripting/python/samba/tests/xattr.py
+++ b/source4/scripting/python/samba/tests/xattr.py
@@ -63,7 +63,6 @@ class XattrTests(TestCase):
def test_set_xattr_tdb(self):
path=os.environ['SELFTEST_PREFIX']
- eadb=tdb.Tdb(os.path.join(path,"eadb.tdb"), 50000, tdb.DEFAULT, os.O_CREAT|os.O_RDWR)
random.seed()
tempf=os.path.join(path,"pytests"+str(int(100000*random.random())))
ntacl=xattr.NTACL()
@@ -75,7 +74,6 @@ class XattrTests(TestCase):
def test_set_tdb_not_open(self):
path=os.environ['SELFTEST_PREFIX']
- eadb=tdb.Tdb(os.path.join(path,"eadb.tdb"), 50000, tdb.DEFAULT, os.O_CREAT|os.O_RDWR)
random.seed()
tempf=os.path.join(path,"pytests"+str(int(100000*random.random())))
ntacl=xattr.NTACL()