[pywin32-checkins] pywin32/com/win32com/test testShell.py,1.7,1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-01-10 06:33:07
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv855 Modified Files: testShell.py Log Message: Don't have the test fail just because they have few links on their desktop Index: testShell.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testShell.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** testShell.py 13 Feb 2005 12:01:20 -0000 1.7 --- testShell.py 10 Jan 2006 06:32:58 -0000 1.8 *************** *** 29,33 **** unc = shellLink.GetPath(shell.SLGP_UNCPRIORITY)[0] num += 1 ! self.failIf(num<3, "Only found %d items on the desktop??" % num) def testShellFolder(self): --- 29,35 ---- unc = shellLink.GetPath(shell.SLGP_UNCPRIORITY)[0] num += 1 ! if num == 0: ! # This isn't a fatal error, but is unlikely. ! print "Could not find any links on your desktop, which is unusual" def testShellFolder(self): |