mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
tests: fix duplicate method from copy & paste error
Change-Id: Ib748c61b1e65aee6dff8b97a9753d14c470a827f Reported-by: Daniel Kutik <daniel.kutik@lavawerk.com> Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/299002 Reviewed-by: Daniel Kutik <daniel.kutik@lavawerk.com> Reviewed-by: Ian Kasprzak <iankaz@google.com> Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
3c0931285c
commit
934cb0a849
@ -305,8 +305,8 @@ class Requirements(RepoWrapperTestCase):
|
|||||||
reqs = self.wrapper.Requirements({'python': {'hard': sys.version_info}})
|
reqs = self.wrapper.Requirements({'python': {'hard': sys.version_info}})
|
||||||
reqs.assert_all()
|
reqs.assert_all()
|
||||||
|
|
||||||
def test_assert_all_old_repo(self):
|
def test_assert_all_old_python(self):
|
||||||
"""Check assert_all rejects old repo."""
|
"""Check assert_all rejects old python."""
|
||||||
reqs = self.wrapper.Requirements({'python': {'hard': [99999, 0]}})
|
reqs = self.wrapper.Requirements({'python': {'hard': [99999, 0]}})
|
||||||
with self.assertRaises(SystemExit):
|
with self.assertRaises(SystemExit):
|
||||||
reqs.assert_all()
|
reqs.assert_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user