~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: John Arbash Meinel
  • Date: 2008-07-17 02:21:33 UTC
  • mto: This revision was merged to the branch mainline in revision 3557.
  • Revision ID: john@arbash-meinel.com-20080717022133-hcd78dqy2qn60drx
Add tests to ensure that you can skip subdirs, start exposing the function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1054
1054
    def assertStatIsCorrect(self, path, win32stat):
1055
1055
        os_stat = os.stat(path)
1056
1056
        self.assertEqual(os_stat.st_size, win32stat.st_size)
1057
 
        import pdb; pdb.set_trace()
1058
 
        self.assertEqual(int(os_stat.st_mtime), win32stat.st_mtime)
1059
 
        self.assertEqual(int(os_stat.st_ctime), win32stat.st_ctime)
1060
 
        self.assertEqual(int(os_stat.st_atime), win32stat.st_atime)
 
1057
        self.assertEqual(os_stat.st_mtime, win32stat.st_mtime)
 
1058
        self.assertEqual(os_stat.st_ctime, win32stat.st_ctime)
 
1059
        self.assertEqual(os_stat.st_atime, win32stat.st_atime)
1061
1060
        self.assertEqual(os_stat.st_dev, win32stat.st_dev)
1062
1061
        self.assertEqual(os_stat.st_ino, win32stat.st_ino)
1063
1062
        self.assertEqual(os_stat.st_mode, win32stat.st_mode)