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

More refactoring. Add some direct tests for GitModel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    _test_needs_features = [tests.GitCommandFeature]
30
30
 
31
31
    def test_open_existing(self):
32
 
        p = subprocess.Popen(['git', 'init'],
33
 
                             stdout=subprocess.PIPE,
34
 
                             stderr=subprocess.PIPE)
35
 
        p.communicate()
 
32
        tests.run_git('init')
36
33
 
37
34
        gd = bzrdir.BzrDir.open('.')
38
35
        self.assertIsInstance(gd, git_dir.GitDir)