diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_git_superproject.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_git_superproject.py b/tests/test_git_superproject.py index f884f507..dc46ec65 100644 --- a/tests/test_git_superproject.py +++ b/tests/test_git_superproject.py | |||
@@ -490,7 +490,9 @@ class SuperprojectTestCase(unittest.TestCase): | |||
490 | 490 | ||
491 | self.assertTrue(self._superproject._Fetch()) | 491 | self.assertTrue(self._superproject._Fetch()) |
492 | self.assertEqual( | 492 | self.assertEqual( |
493 | mock_git_command.call_args.args, | 493 | # TODO: Once we require Python 3.8+, |
494 | # use 'mock_git_command.call_args.args'. | ||
495 | mock_git_command.call_args[0], | ||
494 | ( | 496 | ( |
495 | None, | 497 | None, |
496 | [ | 498 | [ |
@@ -510,7 +512,9 @@ class SuperprojectTestCase(unittest.TestCase): | |||
510 | # If branch for revision exists, set as --negotiation-tip. | 512 | # If branch for revision exists, set as --negotiation-tip. |
511 | self.assertTrue(self._superproject._Fetch()) | 513 | self.assertTrue(self._superproject._Fetch()) |
512 | self.assertEqual( | 514 | self.assertEqual( |
513 | mock_git_command.call_args.args, | 515 | # TODO: Once we require Python 3.8+, |
516 | # use 'mock_git_command.call_args.args'. | ||
517 | mock_git_command.call_args[0], | ||
514 | ( | 518 | ( |
515 | None, | 519 | None, |
516 | [ | 520 | [ |