diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-06-07 11:47:14 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-06-07 11:47:14 +0200 |
| commit | 63a0bbe14d0b5b3a29f9647f4089604d8436458e (patch) | |
| tree | b732fee35c6cc61d04227e1b49eeebfa21954977 /git/test | |
| parent | 65f2dd0ab990adbe1a1470905090391ab5f2ce4e (diff) | |
| download | GitPython-63a0bbe14d0b5b3a29f9647f4089604d8436458e.tar.gz GitPython-63a0bbe14d0b5b3a29f9647f4089604d8436458e.zip | |
Added version_info property to git command
Diffstat (limited to 'git/test')
| -rw-r--r-- | git/test/test_git.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py index aba09c1d..b9a0b617 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -91,3 +91,10 @@ class TestGit(TestBase): hexsha, typename, size = self.git.get_object_header(hexsha) hexsha, typename_two, size_two, data = self.git.get_object_data(hexsha) assert typename == typename_two and size == size_two + + def test_version(self): + v = self.git.version_info + assert isinstance(v, tuple) + for n in v: + assert isinstance(n, int) + #END verify number types |
