diff options
author | Mike Frysinger <vapier@google.com> | 2021-02-25 04:58:27 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-02-25 17:07:11 +0000 |
commit | adbd01e0d38dc8f537ccf2a8a848061d6f7bd873 (patch) | |
tree | 326b93b592ca8591a6f60e8c9ceaf74bc2d83159 | |
parent | 37ac3d626fc08fe47e937704913a626d26864a37 (diff) | |
download | git-repo-adbd01e0d38dc8f537ccf2a8a848061d6f7bd873.tar.gz |
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>
-rw-r--r-- | tests/test_subcmds_init.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_subcmds_init.py b/tests/test_subcmds_init.py index 3a5ca3c2..af4346de 100644 --- a/tests/test_subcmds_init.py +++ b/tests/test_subcmds_init.py | |||
@@ -38,7 +38,7 @@ class InitCommand(unittest.TestCase): | |||
38 | """Check invalid command line options.""" | 38 | """Check invalid command line options.""" |
39 | ARGV = ( | 39 | ARGV = ( |
40 | # Too many arguments. | 40 | # Too many arguments. |
41 | ['asdf'], | 41 | ['url', 'asdf'], |
42 | 42 | ||
43 | # Conflicting options. | 43 | # Conflicting options. |
44 | ['--mirror', '--archive'], | 44 | ['--mirror', '--archive'], |