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

Avoid invoking git directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
class TestGitRepositoryFeatures(tests.TestCaseInTempDir):
51
51
    """Feature tests for GitRepository."""
52
52
 
53
 
    _test_needs_features = [tests.GitCommandFeature]
54
 
 
55
53
    def _do_commit(self):
56
54
        builder = tests.GitBranchBuilder()
57
55
        builder.set_file('a', 'text for a\n', False)
167
165
 
168
166
class TestGitRepository(tests.TestCaseWithTransport):
169
167
 
170
 
    _test_needs_features = [tests.GitCommandFeature]
171
 
 
172
168
    def _do_commit(self):
173
169
        builder = tests.GitBranchBuilder()
174
170
        builder.set_file('a', 'text for a\n', False)