Fix the expectations on the unixinfo test.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 17 Apr 2008 10:03:49 +0000 (12:03 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 17 Apr 2008 10:03:49 +0000 (12:03 +0200)
Andrew Bartlett
(This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)

source4/scripting/python/samba/tests/dcerpc/unix.py

index 43978ac9dcaef72cda9a45262e4d01be7c337971..78a987cedd8845352722563aff54b5ac9b1a72e6 100644 (file)
@@ -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)