1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-16 20:59:12 +03:00

Fix the expectations on the unixinfo test.

Andrew Bartlett
(This used to be commit 0df2b3e0b5)
This commit is contained in:
Andrew Bartlett
2008-04-17 12:03:49 +02:00
parent eb8a4e2883
commit 4d8f3f1902

View 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)