summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-26 16:23:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-26 16:27:06 +0100
commit6664541156582393c8f2456eed5923700235c557 (patch)
tree7263859c8154d83dacd73d3aaf01b3944ae2bfd3 /source4/scripting/python/samba/tests
parenteeb5f66d902467524641b54e2d4180a31edbe4e7 (diff)
downloadsamba-6664541156582393c8f2456eed5923700235c557.tar.gz
samba-6664541156582393c8f2456eed5923700235c557.tar.bz2
samba-6664541156582393c8f2456eed5923700235c557.zip
provision: Split out result reporting for backends.
Diffstat (limited to 'source4/scripting/python/samba/tests')
-rw-r--r--source4/scripting/python/samba/tests/provision.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/provision.py b/source4/scripting/python/samba/tests/provision.py
index 8420f9c152..0ebe400405 100644
--- a/source4/scripting/python/samba/tests/provision.py
+++ b/source4/scripting/python/samba/tests/provision.py
@@ -167,6 +167,8 @@ class ProvisionResultTests(TestCase):
result = self.base_result()
entries = self.report_logger(result)
self.assertEquals(entries, [
+ ('INFO', 'Once the above files are installed, your Samba4 server '
+ 'will be ready to use'),
('INFO', 'Server Role: domain controller'),
('INFO', 'Hostname: hostnaam'),
('INFO', 'NetBIOS Domain: DOMEIN'),
@@ -185,6 +187,6 @@ class ProvisionResultTests(TestCase):
result.adminpass_generated = True
result.adminpass = "geheim"
entries = self.report_logger(result)
- self.assertEquals(entries[0],
+ self.assertEquals(entries[1],
("INFO", 'Admin password: geheim'))