summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-02-04 00:02:18 -0500
committerMike Frysinger <vapier@google.com>2020-02-05 19:01:40 +0000
commit655aedd7f34d9f2ff6dd3cb77c080addd0f06c4b (patch)
tree5a6a04024951d487a9d0e7e548d474e56d09bb04 /tests
parentcc960971f450907b44259154821515224d3a2ea3 (diff)
downloadgit-repo-655aedd7f34d9f2ff6dd3cb77c080addd0f06c4b.tar.gz
repo: raise min version of git
The git-2.10 series was released in 2016. Since we're moving to require Python 3.6 which was also released in 2016, bumping up the git version seems reasonable. Also we don't really test any git versions close to as old as 1.7.2 which was released in 2010. Change-Id: Ib71b714de6cd0b7dd50d0b300b108a560ee27331 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253134 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_git_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_git_command.py b/tests/test_git_command.py
index 51171a32..8d9b5f00 100644
--- a/tests/test_git_command.py
+++ b/tests/test_git_command.py
@@ -35,7 +35,7 @@ class GitCallUnitTest(unittest.TestCase):
35 # We don't dive too deep into the values here to avoid having to update 35 # We don't dive too deep into the values here to avoid having to update
36 # whenever git versions change. We do check relative to this min version 36 # whenever git versions change. We do check relative to this min version
37 # as this is what `repo` itself requires via MIN_GIT_VERSION. 37 # as this is what `repo` itself requires via MIN_GIT_VERSION.
38 MIN_GIT_VERSION = (1, 7, 2) 38 MIN_GIT_VERSION = (2, 10, 2)
39 self.assertTrue(isinstance(ver.major, int)) 39 self.assertTrue(isinstance(ver.major, int))
40 self.assertTrue(isinstance(ver.minor, int)) 40 self.assertTrue(isinstance(ver.minor, int))
41 self.assertTrue(isinstance(ver.micro, int)) 41 self.assertTrue(isinstance(ver.micro, int))