[pywin32-checkins] pywin32/win32/test test_security.py,1.3,1.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-05-31 02:07:43
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31219/test Modified Files: test_security.py Log Message: Add DsList* functions. Index: test_security.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_security.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_security.py 24 May 2005 13:55:30 -0000 1.3 --- test_security.py 31 May 2005 02:07:35 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # Tests for the win32security module. import sys, os import unittest *************** *** 37,40 **** --- 38,50 ---- win32security.DsGetDcName() + def testDsListServerInfo(self): + # again, not checking much, just exercising the code. + h=win32security.DsBind() + for (status, ignore, site) in win32security.DsListSites(h): + for (status, ignore, server) in win32security.DsListServersInSite(h, site): + info = win32security.DsListInfoForServer(h, server) + for (status, ignore, domain) in win32security.DsListDomainsInSite(h, site): + pass + def testDsCrackNames(self): h = win32security.DsBind() |