def test_require_setuptools():
 from fabtools.require.python import setuptools
 setuptools()
 assert run('easy_install --version', warn_only=True).succeeded

def test_require_setuptools ( ) : from fabtools . require . python import setuptools setuptools ( ) assert run ( 'easy_install --version' , warn_only = True ) . succeeded
test python setuptools installation .