diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-08-13 18:06:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-08-14 10:13:13 +0300 |
commit | 022aa0cba1102fa234c8b5d9f4fa9e3fbc108cc0 (patch) | |
tree | 13fa85476f92a37fba12dafce6650fd9fef5c514 /obnamlib/fmt_ga/leaf_store_tests.py | |
parent | b88b51305f7b96077e5ee0517248dc45029c9d4f (diff) | |
download | obnam-022aa0cba1102fa234c8b5d9f4fa9e3fbc108cc0.tar.gz |
Break CowTree into many nodes
Diffstat (limited to 'obnamlib/fmt_ga/leaf_store_tests.py')
-rw-r--r-- | obnamlib/fmt_ga/leaf_store_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/leaf_store_tests.py b/obnamlib/fmt_ga/leaf_store_tests.py index 7eb3c8e4..9d1a8f71 100644 --- a/obnamlib/fmt_ga/leaf_store_tests.py +++ b/obnamlib/fmt_ga/leaf_store_tests.py @@ -40,6 +40,9 @@ class LeafStoreTests(object): def test_returns_None_if_leaf_is_missing(self): self.assertEqual(self.ls.get_leaf(42), None) + def test_has_flush(self): + self.assertEqual(self.ls.flush(), None) + class InMemoryLeafStoreTests(unittest.TestCase, LeafStoreTests): |