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.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/dsdb/tests/python/sites.py b/source4/dsdb/tests/python/sites.py
index 402d676ae1a..4fff77e5c27 100755
--- a/source4/dsdb/tests/python/sites.py
+++ b/source4/dsdb/tests/python/sites.py
@@ -81,8 +81,8 @@ class SitesBaseTests(samba.tests.TestCase):
#tests on sites
class SimpleSitesTests(SitesBaseTests):
- def test_create(self):
- """test creation of 1 site"""
+ def test_create_and_delete(self):
+ """test creation and deletion of 1 site"""
self.ldb_admin.transaction_start()
ok = sites.create_site(self.ldb_admin, self.ldb_admin.get_config_basedn(),
@@ -93,9 +93,6 @@ class SimpleSitesTests(SitesBaseTests):
sites.create_site, self.ldb_admin, self.ldb_admin.get_config_basedn(),
"testsamba")
- def test_delete(self):
- """test removal of 1 site"""
-
self.ldb_admin.transaction_start()
ok = sites.delete_site(self.ldb_admin, self.ldb_admin.get_config_basedn(),
"testsamba")