[pywin32-checkins] pywin32/win32/test test_win32file.py,1.11,1.12
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-11-20 22:21:55
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12889/test Modified Files: test_win32file.py Log Message: win32file.ReadDirectoryChanges ignored 1 char filenames. >From Niki Spahiev. Index: test_win32file.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** test_win32file.py 22 Sep 2006 14:31:32 -0000 1.11 --- test_win32file.py 20 Nov 2006 22:21:48 -0000 1.12 *************** *** 409,412 **** --- 409,422 ---- self.failUnlessEqual(changes, [(1, "test_file")]) + def testSmall(self): + self.stablize() + for dn in self.dir_names: + fn = os.path.join(dn, "x") + open(fn, "w").close() + + self.stablize() + changes = self.watcher_thread_changes[0] + self.failUnlessEqual(changes, [(1, "x")]) + class TestEncrypt(unittest.TestCase): def testEncrypt(self): |