/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

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for interfacing with a Git Repository"""
18
18
 
19
 
import subprocess
 
19
import git
20
20
 
21
21
from bzrlib import (
22
22
    inventory,
29
29
    git_dir,
30
30
    git_repository,
31
31
    ids,
32
 
    model,
33
32
    )
34
33
 
35
34
 
44
43
        repo = repository.Repository.open('.')
45
44
        self.assertIsInstance(repo, git_repository.GitRepository)
46
45
 
47
 
    def test_has_git_model(self):
 
46
    def test_has_git_repo(self):
48
47
        tests.run_git('init')
49
48
 
50
49
        repo = repository.Repository.open('.')
51
 
        self.assertIsInstance(repo._git, model.GitModel)
 
50
        self.assertIsInstance(repo._git, git.repo.Repo)
52
51
 
53
52
    def test_revision_graph(self):
54
53
        tests.run_git('init')