@pytest.mark.network
def test_install_package_which_contains_dev_in_name(script):
 result = script.pip('install', 'django-devserver==0.0.4')
 devserver_folder = (script.site_packages / 'devserver')
 egg_info_folder = ((script.site_packages / 'django_devserver-0.0.4-py%s.egg-info') % pyversion)
 assert (devserver_folder in result.files_created), str(result.stdout)
 assert (egg_info_folder in result.files_created), str(result)

@ pytest . mark . network def test_install_package_which_contains_dev_in_name ( script ) : result = script . pip ( 'install' , 'django-devserver==0.0.4' ) devserver_folder = ( script . site_packages / 'devserver' ) egg_info_folder = ( ( script . site_packages / 'django_devserver-0.0.4-py%s.egg-info' ) % pyversion ) assert ( devserver_folder in result . files_created ) , str ( result . stdout ) assert ( egg_info_folder in result . files_created ) , str ( result )
test installing package from pypi which contains dev in name .