summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-17 12:03:49 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-17 12:03:49 +0200
commit4d8f3f190215edcdbeb1725cccdc962dc68cc1a0 (patch)
treec7ed6660981483dc8aa674d7553d9d2c284abfae /source4/scripting
parenteb8a4e28830a01bcb990874e69f5b52907a278c6 (diff)
downloadsamba-4d8f3f190215edcdbeb1725cccdc962dc68cc1a0.tar.gz
samba-4d8f3f190215edcdbeb1725cccdc962dc68cc1a0.tar.bz2
samba-4d8f3f190215edcdbeb1725cccdc962dc68cc1a0.zip
Fix the expectations on the unixinfo test.
Andrew Bartlett (This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/unix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/dcerpc/unix.py b/source4/scripting/python/samba/tests/dcerpc/unix.py
index 43978ac9dc..78a987cedd 100644
--- a/source4/scripting/python/samba/tests/dcerpc/unix.py
+++ b/source4/scripting/python/samba/tests/dcerpc/unix.py
@@ -27,8 +27,8 @@ class UnixinfoTests(RpcInterfaceTestCase):
def test_getpwuid(self):
infos = self.conn.GetPWUid(range(512))
self.assertEquals(512, len(infos))
- self.assertEquals("", infos[0].shell)
- self.assertEquals("", infos[0].homedir)
+ self.assertEquals("/bin/false", infos[0].shell)
+ self.assertTrue(isinstance(infos[0].homedir, unicode))
def test_gidtosid(self):
self.conn.GidToSid(1000)