@pytest.mark.network
def test_pip_wheel_success(script, data):
 script.pip('install', 'wheel')
 result = script.pip('wheel', '--no-index', '-f', data.find_links, 'simple==3.0')
 wheel_file_name = ('simple-3.0-py%s-none-any.whl' % pyversion[0])
 wheel_file_path = (script.scratch / wheel_file_name)
 assert (wheel_file_path in result.files_created), result.stdout
 assert ('Successfully built simple' in result.stdout), result.stdout

@ pytest . mark . network def test_pip_wheel_success ( script , data ) : script . pip ( 'install' , 'wheel' ) result = script . pip ( 'wheel' , '--no-index' , '-f' , data . find_links , 'simple==3.0' ) wheel_file_name = ( 'simple-3.0-py%s-none-any.whl' % pyversion [ 0 ] ) wheel_file_path = ( script . scratch / wheel_file_name ) assert ( wheel_file_path in result . files_created ) , result . stdout assert ( 'Successfully built simple' in result . stdout ) , result . stdout
test pip wheel success .