mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
tests: fix init subcmd after url change
My recent 401c6f0725
("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…
Reference in New Issue
Block a user