/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_git_repository.py

Handle NULL_REVISION in get_parent_map.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        self.assertEqual(tree.get_revision_id(), revision.NULL_REVISION)
153
153
        self.assertIsNullInventory(tree.inventory)
154
154
 
 
155
    def test_get_parent_map_null(self):
 
156
        self.assertEquals({revision.NULL_REVISION: ()}, 
 
157
                           self.git_repo.get_parent_map([revision.NULL_REVISION]))
 
158
 
155
159
 
156
160
class GitRepositoryFormat(tests.TestCase):
157
161