summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests/python
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/tests/python')
-rwxr-xr-xsource4/dsdb/tests/python/sites.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/dsdb/tests/python/sites.py b/source4/dsdb/tests/python/sites.py
index 71725bffa45..f42e7bf7e3e 100755
--- a/source4/dsdb/tests/python/sites.py
+++ b/source4/dsdb/tests/python/sites.py
@@ -82,20 +82,16 @@ class SimpleSitesTests(SitesBaseTests):
def test_create_and_delete(self):
"""test creation and deletion of 1 site"""
- self.ldb.transaction_start()
sites.create_site(self.ldb, self.ldb.get_config_basedn(),
"testsamba")
- self.ldb.transaction_commit()
self.assertRaises(sites.SiteAlreadyExistsException,
sites.create_site, self.ldb,
self.ldb.get_config_basedn(),
"testsamba")
- self.ldb.transaction_start()
sites.delete_site(self.ldb, self.ldb.get_config_basedn(),
"testsamba")
- self.ldb.transaction_commit()
self.assertRaises(sites.SiteNotFoundException,
sites.delete_site, self.ldb,