/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

GitBranchBuilder.set_file returns None, do not save its return value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    def test_revision_graph(self):
51
51
        tests.run_git('init')
52
52
        builder = tests.GitBranchBuilder()
53
 
        file_handle = builder.set_file('a', 'text for a\n', False)
 
53
        builder.set_file('a', 'text for a\n', False)
54
54
        commit1_handle = builder.commit('Joe Foo <joe@foo.com>', u'message')
55
 
        file2_handle = builder.set_file('a', 'new a\n', False)
 
55
        builder.set_file('a', 'new a\n', False)
56
56
        commit2_handle = builder.commit('Joe Foo <joe@foo.com>', u'new a')
57
 
        file3_handle = builder.set_file('b', 'text for b\n', False)
 
57
        builder.set_file('b', 'text for b\n', False)
58
58
        commit3_handle = builder.commit('Jerry Bar <jerry@foo.com>', u'b',
59
59
                                        base=commit1_handle)
60
60
        commit4_handle = builder.commit('Jerry Bar <jerry@foo.com>', u'merge',