diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-03-17 20:18:48 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-03-17 20:57:42 +0200 |
commit | 200921f67497952516f20a249e8c31e1f5154331 (patch) | |
tree | a3bfd0c35d0322d2720732275e34d665faf3be19 | |
parent | 4210f10e6e786d8908f3d9872edf3cd61b9d224c (diff) | |
download | obnam-200921f67497952516f20a249e8c31e1f5154331.tar.gz |
Drop unused variable, use the real one
-rw-r--r-- | obnamlib/whole_file_checksummer_tests.py | 3 |
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') |