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

Switch to using GitPython rather than our own in-house stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
class TestGitBlackBox(ExternalBase):
28
28
 
29
 
    def test_info(self):
30
 
        # Create a git repository with a revision.
31
 
        tests.run_git('init')
32
 
        builder = tests.GitBranchBuilder()
33
 
        builder.set_file('a', 'text for a\n', False)
34
 
        builder.commit('Joe Foo <joe@foo.com>', u'<The commit message>')
35
 
        builder.finish()
36
 
 
37
 
        output, error = self.run_bzr(['info'])
38
 
        self.assertEqual(error, '')
39
 
        self.assertTrue("Repository branch (format: git)" in output)
40
 
 
41
29
    def test_log(self):
42
30
        # Smoke test for "bzr log" in a git repository.
43
31