summaryrefslogtreecommitdiff
path: root/obnamlib/whole_file_checksummer_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/whole_file_checksummer_tests.py')
-rw-r--r--obnamlib/whole_file_checksummer_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/obnamlib/whole_file_checksummer_tests.py b/obnamlib/whole_file_checksummer_tests.py
index 0b9c7b9f..f2aeba92 100644
--- a/obnamlib/whole_file_checksummer_tests.py
+++ b/obnamlib/whole_file_checksummer_tests.py
@@ -36,9 +36,8 @@ class WholeFileCheckSummerTests(unittest.TestCase):
repo = FakeRepository(obnamlib.REPO_FILE_MD5)
summer = obnamlib.WholeFileCheckSummer(obnamlib.REPO_FILE_MD5)
chunk = 'hello'
- token = repo.prepare_chunk_for_indexes(chunk)
chunk_id = None
- summer.append_chunk(chunk, token)
+ summer.append_chunk(chunk, chunk_id)
self.assertEqual(
summer.get_checksum(),
'5d41402abc4b2a76b9719d911017c592')