diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-06-11 15:20:44 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-06-11 15:27:02 +0200 |
commit | 4d6eecb73e34d9751a05c3908b4ad3f8960619ad (patch) | |
tree | 6c6b1582a3dc73d45452910aa1fcc8877fd02058 /tests/test_GitRepository.py | |
parent | a30f9e772cb8b4c48cca296bb3a7690c3e8ae418 (diff) |
GitRepository.get_subject: use get_commit_info
This kills another _git_getoutput. Also deprecate the method since we
don't need to special case the subject.
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r-- | tests/test_GitRepository.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index be522c9..0e8d8d0 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -446,6 +446,8 @@ def test_get_commit_info(): 'foo' >>> info['files'] defaultdict(<type 'list'>, {'M': ['testfile']}) + >>> repo.get_subject('HEAD') + 'foo' """ def test_diff(): |