@pytest.mark.network
def test_simple_uninstall(script):
 result = script.pip('install', 'INITools==0.2')
 assert (join(script.site_packages, 'initools') in result.files_created), sorted(result.files_created.keys())
 script.run('python', '-c', 'import initools')
 result2 = script.pip('uninstall', 'INITools', '-y')
 assert_all_changes(result, result2, [(script.venv / 'build'), 'cache'])

@ pytest . mark . network def test_simple_uninstall ( script ) : result = script . pip ( 'install' , 'INITools==0.2' ) assert ( join ( script . site_packages , 'initools' ) in result . files_created ) , sorted ( result . files_created . keys ( ) ) script . run ( 'python' , '-c' , 'import initools' ) result2 = script . pip ( 'uninstall' , 'INITools' , '-y' ) assert_all_changes ( result , result2 , [ ( script . venv / 'build' ) , 'cache' ] )
test simple install and uninstall .