diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-06-19 09:09:11 +0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-07-27 13:46:59 +0200 |
commit | 6e4138faae673bd3398b1c85829a41e348e40caf (patch) | |
tree | ab6909ef577c69fbccefceff8e536c6da9c4688d /tests/test_GitRepository.py | |
parent | 32f725f9e27165c25ef11d61952f22eb29a1f12d (diff) |
GitRepository/get_commit_info: add file status
Add file status and name to the info returned by the get_commit_info()
method.
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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 5a590ff..10b448b 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -369,6 +369,8 @@ def test_get_commit_info(): True >>> (now - datetime.fromtimestamp(int(info['committer'].date.split()[0]))).seconds < 10 True + >>> info['files'] + defaultdict(<type 'list'>, {'M': ['testfile']}) """ def test_mirror_clone(): |