def test_install_from_wheel_gen_uppercase_entrypoint(script, data):
 result = script.pip('install', 'console-scripts-uppercase==1.0', '--no-index', ('--find-links=' + data.find_links), expect_error=False)
 if (os.name == 'nt'):
  wrapper_file = (script.bin / 'cmdName.exe')
 else:
  wrapper_file = (script.bin / 'cmdName')
 assert (wrapper_file in result.files_created)
 if (os.name != 'nt'):
  assert bool(os.access((script.base_path / wrapper_file), os.X_OK))

def test_install_from_wheel_gen_uppercase_entrypoint ( script , data ) : result = script . pip ( 'install' , 'console-scripts-uppercase==1.0' , '--no-index' , ( '--find-links=' + data . find_links ) , expect_error = False ) if ( os . name == 'nt' ) : wrapper_file = ( script . bin / 'cmdName.exe' ) else : wrapper_file = ( script . bin / 'cmdName' ) assert ( wrapper_file in result . files_created ) if ( os . name != 'nt' ) : assert bool ( os . access ( ( script . base_path / wrapper_file ) , os . X_OK ) )
test installing scripts with uppercase letters in entry point names .