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

Fix pointers when pushing strings to python during pidl generation.

(This used to be commit ca72187b3e)
This commit is contained in:
Jelmer Vernooij
2008-04-15 14:32:13 +02:00
parent 983b66b8f1
commit fd52fe8616
2 changed files with 7 additions and 6 deletions

View File

@ -27,6 +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)
def test_gidtosid(self):
self.conn.GidToSid(1000)