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

Fix teardown of object store tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        builder = tests.GitBranchBuilder(stream)
113
113
 
114
114
        builder.set_file(u'f\xb5/bar', 'contents\nbar\n', False)
115
 
        self.assertEqual(2, builder.commit('Joe Foo <joe@foo.com>',
 
115
        self.assertEqual('2', builder.commit('Joe Foo <joe@foo.com>',
116
116
                                           u'committing f\xb5/bar',
117
117
                                           timestamp=1194586400,
118
118
                                           timezone='+0100'))
253
253
        r1 = builder.commit('Joe Foo <joe@foo.com>', u'first',
254
254
                            timestamp=1194586400)
255
255
        mapping = builder.finish()
256
 
        self.assertEqual({1:'44411e8e9202177dd19b6599d7a7991059fa3cb4',
257
 
                          2: 'b0b62e674f67306fddcf72fa888c3b56df100d64',
 
256
        self.assertEqual({'1':'44411e8e9202177dd19b6599d7a7991059fa3cb4',
 
257
                          '2': 'b0b62e674f67306fddcf72fa888c3b56df100d64',
258
258
                         }, mapping)