From 200921f67497952516f20a249e8c31e1f5154331 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 17 Mar 2016 20:18:48 +0200 Subject: Drop unused variable, use the real one --- obnamlib/whole_file_checksummer_tests.py | 3 +-- 1 file changed, 1 insertion(+), 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') -- cgit v1.2.1