summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/rdifftest.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-14 21:46:20 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-14 21:46:20 +0000
commita046e272f4cf6851beca20e66c1b218af8b08a60 (patch)
tree5dc0c87a445960964e59a41f84a57348788ab3a6 /rdiff-backup/testing/rdifftest.py
parent9584378d91306ad9b3d8e7dbd110b7c2f472ed4b (diff)
downloadrdiff-backup-a046e272f4cf6851beca20e66c1b218af8b08a60.tar.gz
Small testing updates
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@123 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/rdifftest.py')
-rw-r--r--rdiff-backup/testing/rdifftest.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/rdiff-backup/testing/rdifftest.py b/rdiff-backup/testing/rdifftest.py
index 93d9f37..68f88a2 100644
--- a/rdiff-backup/testing/rdifftest.py
+++ b/rdiff-backup/testing/rdifftest.py
@@ -48,8 +48,8 @@ class RdiffTest(unittest.TestCase):
assert self.basis.lstat() and self.new.lstat()
self.signature.write_from_fileobj(Rdiff.get_signature(self.basis))
assert self.signature.lstat()
- self.delta.write_from_fileobj(Rdiff.get_delta(self.signature,
- self.new))
+ self.delta.write_from_fileobj(Rdiff.get_delta_sigrp(self.signature,
+ self.new))
assert self.delta.lstat()
Rdiff.patch_action(self.basis, self.delta, self.output).execute()
assert RPath.cmp(self.new, self.output)
@@ -68,8 +68,8 @@ class RdiffTest(unittest.TestCase):
assert self.basis.lstat() and self.new.lstat()
self.signature.write_from_fileobj(Rdiff.get_signature(self.basis))
assert self.signature.lstat()
- self.delta.write_from_fileobj(Rdiff.get_delta(self.signature,
- self.new))
+ self.delta.write_from_fileobj(Rdiff.get_delta_sigrp(self.signature,
+ self.new))
assert self.delta.lstat()
os.system("gzip " + self.delta.path)
os.system("mv %s %s" % (self.delta.path + ".gz", self.delta.path))
@@ -125,8 +125,8 @@ class RdiffTest(unittest.TestCase):
assert self.basis.lstat() and self.new.lstat()
self.signature.write_from_fileobj(Rdiff.get_signature(self.basis))
assert self.signature.lstat()
- self.delta.write_from_fileobj(Rdiff.get_delta(self.signature,
- self.new))
+ self.delta.write_from_fileobj(Rdiff.get_delta_sigrp(self.signature,
+ self.new))
assert self.delta.lstat()
Rdiff.patch_action(self.basis, self.delta).execute()
assert RPath.cmp(self.basis, self.new)