diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2015-02-27 18:17:03 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-03-22 14:07:22 +0200 |
commit | 787478a81bbc7c1c74ed5c0f2d5ef26022ec4e42 (patch) | |
tree | 807c296731cc7822883e2cc02d06a4981622c03a | |
parent | 5ff42f9f3c199239ae0bfde35aa9f725e0b2cfd2 (diff) | |
download | obnam-787478a81bbc7c1c74ed5c0f2d5ef26022ec4e42.tar.gz |
clientmetadatatree_tests: remove redeclared names without usage
looks like a c&p accident somehow
-rw-r--r-- | obnamlib/fmt_6/clientmetadatatree_tests.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/obnamlib/fmt_6/clientmetadatatree_tests.py b/obnamlib/fmt_6/clientmetadatatree_tests.py index 8576bdd9..32913204 100644 --- a/obnamlib/fmt_6/clientmetadatatree_tests.py +++ b/obnamlib/fmt_6/clientmetadatatree_tests.py @@ -270,23 +270,6 @@ class ClientMetadataTreeFileOpsTests(unittest.TestCase): self.assertEqual(list(self.client.tree.lookup_range(minkey, maxkey)), []) - def test_generation_has_no_chunk_refs_initially(self): - minkey = self.client.chunk_key(0, 0) - maxkey = self.client.chunk_key(obnamlib.MAX_ID, obnamlib.MAX_ID) - self.assertEqual(list(self.client.tree.lookup_range(minkey, maxkey)), - []) - - def test_sets_file_chunks(self): - self.client.set_file_chunks('/foo', [1, 2, 3]) - self.assertEqual(self.client.get_file_chunks(self.clientid, '/foo'), - [1, 2, 3]) - - def test_generation_has_no_chunk_refs_initially(self): - minkey = self.client.chunk_key(0, 0) - maxkey = self.client.chunk_key(obnamlib.MAX_ID, obnamlib.MAX_ID) - self.assertEqual(list(self.client.tree.lookup_range(minkey, maxkey)), - []) - def test_set_file_chunks_adds_chunk_refs(self): self.client.set_file_chunks('/foo', [1, 2]) file_id = self.client.get_file_id(self.client.tree, '/foo') |