def tag_as_test_install(flocker_version, distribution, package_name):
 repository_url = get_repository_url(distribution=distribution, flocker_version=flocker_version)
 repository_host = urlparse(repository_url).hostname
 tag_url = bytes('https://{host}/clusterhq-internal-acceptance-test/{distribution}/{package}/{version}'.format(host=repository_host, distribution=distribution, package=package_name, version=flocker_version))
 return http_get(tag_url)

def tag_as_test_install ( flocker_version , distribution , package_name ) : repository_url = get_repository_url ( distribution = distribution , flocker_version = flocker_version ) repository_host = urlparse ( repository_url ) . hostname tag_url = bytes ( 'https://{host}/clusterhq-internal-acceptance-test/{distribution}/{package}/{version}' . format ( host = repository_host , distribution = distribution , package = package_name , version = flocker_version ) ) return http_get ( tag_url )
creates an effect of making an http get to a specific url in an s3 bucket that has logging enabled .