Lines Matching +full:upload +full:- +full:dir
38 parser.parse_args(['--option', '--nooption'])
40 parser.parse_args(['--nooption', '--option'])
51 parser.parse_args(['--option', '--nooption'])
53 parser.parse_args(['--nooption', '--option'])
70 arguments = parser.parse_args(['--option'])
76 arguments = parser.parse_args(['--option'])
82 arguments = parser.parse_args(['--nooption'])
88 arguments = parser.parse_args(['--nooption'])
97 _ALL_SUBCOMMANDS = ['servo', 'firmware', 'test-image', 'repair']
109 """Test handling of `--web`, both long and short forms."""
111 for option in ['-w', '--web']:
118 """Test handling of `--dir`, both long and short forms."""
120 for option in ['-d', '--dir']:
127 """Test handling of `--dry-run`, both long and short forms."""
129 for option in ['-n', '--dry-run']:
136 """Test handling of `--build`, both long and short forms."""
137 opt_arg = 'R66-10447.0.0'
138 for option in ['-i', '--build']:
145 """Test handling of `--hostname_file`, both long and short forms."""
147 for option in ['-f', '--hostname_file']:
154 """Test handling of `--upload`, both long and short forms."""
155 argv = ['--upload']
158 self.assertTrue(arguments.upload)
161 """Test handling of `--noupload`, both long and short forms."""
162 argv = ['--noupload']
165 self.assertFalse(arguments.upload)
168 """Test the `--board` option for subcommands."""
170 for option in ['-b', '--board']:
176 """Test the `--model` option for subcommands."""
178 for option in ['-m', '--model']:
207 """Test argument defaults for `deploy test-image`."""
208 arguments = _test_parse_command(['test-image'])