mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-04-02 14:09:18 +00:00
tests: fix init subcmd after url change
My recent 401c6f072564966437a74dc2f33280a85d79dc84 ("init: make --manifest-url flag optional") commit broke the unittest. Change-Id: I19ad0e8c8cbb84ab5474ebc370e00acfe957e136 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/298223 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
37ac3d626f
commit
adbd01e0d3
@ -38,7 +38,7 @@ class InitCommand(unittest.TestCase):
|
|||||||
"""Check invalid command line options."""
|
"""Check invalid command line options."""
|
||||||
ARGV = (
|
ARGV = (
|
||||||
# Too many arguments.
|
# Too many arguments.
|
||||||
['asdf'],
|
['url', 'asdf'],
|
||||||
|
|
||||||
# Conflicting options.
|
# Conflicting options.
|
||||||
['--mirror', '--archive'],
|
['--mirror', '--archive'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user