def test_download_wheel_archive(script, data):
 wheel_filename = 'colander-0.9.9-py2.py3-none-any.whl'
 wheel_path = os.path.join(data.find_links, wheel_filename)
 result = script.pip('download', wheel_path, '-d', '.', '--no-deps')
 assert ((Path('scratch') / wheel_filename) in result.files_created)

def test_download_wheel_archive ( script , data ) : wheel_filename = 'colander-0.9.9-py2.py3-none-any.whl' wheel_path = os . path . join ( data . find_links , wheel_filename ) result = script . pip ( 'download' , wheel_path , '-d' , '.' , '--no-deps' ) assert ( ( Path ( 'scratch' ) / wheel_filename ) in result . files_created )
it should download a wheel archive path .