/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_object_store.py

More find missing revision tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    def test_one_missing(self):
72
72
        self.assertEquals(set(["a"]),
73
73
                self._find_missing({"a": ["b"]}, ["a"], ["b"]))
 
74
 
 
75
    def test_two_missing(self):
 
76
        self.assertEquals(set(["a", "b"]),
 
77
                self._find_missing({"a": ["b"], "b": ["c"]}, ["a"], ["c"]))
 
78
 
 
79
    def test_two_missing_history(self):
 
80
        self.assertEquals(set(["a", "b"]),
 
81
                self._find_missing({"a": ["b"], "b": ["c"], "c": ["d"]},
 
82
                    ["a"], ["c"]))