diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-10 23:14:57 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-10 23:14:57 +0000 |
commit | 40fd4661d4b2a0fd2b2517408d4c5982474b2105 (patch) | |
tree | 6ab957325a74ddf7c64aebdb7424501ca7fc8a45 /rdiff-backup/testing/destructive_steppingtest.py | |
parent | 807241bc4f322edc6f95782291900362484263df (diff) | |
download | rdiff-backup-40fd4661d4b2a0fd2b2517408d4c5982474b2105.tar.gz |
Many changes, see changelog for 0.7.4
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@73 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/destructive_steppingtest.py')
-rw-r--r-- | rdiff-backup/testing/destructive_steppingtest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rdiff-backup/testing/destructive_steppingtest.py b/rdiff-backup/testing/destructive_steppingtest.py index b44a999..1194835 100644 --- a/rdiff-backup/testing/destructive_steppingtest.py +++ b/rdiff-backup/testing/destructive_steppingtest.py @@ -3,7 +3,7 @@ import unittest execfile("commontest.py") rbexec("selection.py") - +Log.setverbosity(4) class DSTest(unittest.TestCase): def setUp(self): @@ -15,11 +15,11 @@ class DSTest(unittest.TestCase): def testDSIter(self): """Testing destructive stepping iterator from baserp""" for i in range(2): - sel = Select(self.noperms, 1) - sel.set_iter() + sel = Select(DSRPath(1, self.noperms)).set_iter() ds_iter = sel.iterate_with_finalizer() noperms = ds_iter.next() - assert noperms.isdir() and noperms.getperms() == 0 + assert noperms.isdir() and noperms.getperms() == 0, \ + (noperms.isdir(), noperms.getperms()) bar = ds_iter.next() assert bar.isreg() and bar.getperms() == 0, \ |