def test_resources(self): parser = parse_args(['projectnametest', '-r']) assert parser[ 'resources'] == True, "Resources argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--resources']) assert parser[ 'resources'] == True, "resources argument in parser failed."
def test_doc(self): parser = parse_args(['projectnametest', '-d']) assert parser[ 'docs'] == False, "Documentation argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--docs']) assert parser['docs'] == False, "Documentation in parser failed."
def test_test(self): parser = parse_args(['projectnametest', '-t']) assert parser[ 'tests'] == False, "Test argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--tests']) assert parser['tests'] == False, "Test argument in parser failed."
def test_shebang(self): parser = parse_args(['projectnametest', '-s']) assert parser[ 'shebang'] == False, "Shebang argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--shebang']) assert parser['shebang'] == False, "Shebang argument in parser failed."
def test_pytest(self): parser = parse_args(['projectnametest', '-p']) assert parser[ 'pytest'] == True, "Pytest argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--pytest']) assert parser['pytest'] == True, "Pytest argument in parser failed."
def test_verbose(self): parser = parse_args(['projectnametest', '-v']) assert parser[ 'verbose'] == True, "Verbose argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--verbose']) assert parser['verbose'] == True, "Verbose argument in parser failed."
def test_gui(self): parser = parse_args(['projectnametest', '-g']) assert parser[ 'gui'] == True, "GUI argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--gui']) assert parser['gui'] == True, "GUI argument in parser failed."
def test_cli(self): parser = parse_args(['projectnametest', '-c']) assert parser[ 'cli'] == True, "Command line argument abbreviation in parser failed." parser = parse_args(['projectnametest', '--cli']) assert parser['cli'] == True, "Command line argument in parser failed."
def test_project_name(self): parser = parse_args(['projectnametest']) assert parser[ 'project_name'] == 'projectnametest', "Project name argument in parser failed."