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:
@ -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)
|
||||
|
Reference in New Issue
Block a user