summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/destructive_steppingtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/testing/destructive_steppingtest.py')
-rw-r--r--rdiff-backup/testing/destructive_steppingtest.py8
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, \