#NEWLINE# def test_install( qipy_action , tmpdir ) : #NEWLINE# #INDENT# big_project = qipy_action . add_test_project ( 'big_project' ) #NEWLINE# dest = tmpdir . join ( 'dest' ) #NEWLINE# qipy_action ( 'install' , 'big_project' , qipy_action . strpath ) #NEWLINE# site_packages = dest . join ( 'lib' , 'python2.7' , 'site-packages' ) #NEWLINE# assert site_packages . join ( 'spam.py' ) . check ( file = True ) #NEWLINE# assert site_packages . join ( 'foo' , 'bar' , 'baz.py' ) . check ( file = True ) #NEWLINE# assert dest . join ( 'bin' , 'script.py' ) . check ( file = True )