<s> from dcos_installer import DcosInstaller <EOL> def test_default_arg_parser ( ) : <EOL> parser = DcosInstaller ( ) . parse_args ( [ ] ) <EOL> assert parser . verbose is False <EOL> assert parser . port == <NUM_LIT> <EOL> assert parser . web is False <EOL> assert parser . genconf is False <EOL> assert parser . preflight is False <EOL> assert parser . deploy is False <EOL> assert parser . postflight is False <EOL> assert parser . validate_config is False <EOL> assert parser . test is False <EOL> assert parser . uninstall is False <EOL> def test_set_arg_parser ( ) : <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert parser . verbose is True <EOL> assert parser . port == <NUM_LIT> <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . web is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . genconf is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . preflight is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . postflight is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . deploy is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . validate_config is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . test is True <EOL> parser = DcosInstaller ( ) . parse_args ( [ '<STR_LIT>' ] ) <EOL> assert parser . uninstall is True </s>
