>>> import os
>>> from releasemanager.tests import TEST_CONF_PATH
>>> from releasemanager.installer.releasedaemon import ReleaseInstaller
>>> from releasemanager.tests.mock.resource import MockResource
>>> test_identifier = 'http://svn.fake.com/svn/project/trunk; 9999'
>>> environment = 'test'
>>> target = 'template'
>>> resource = MockResource('test').data
>>> ri = ReleaseInstaller('release_installer_template', configPath=os.path.join(TEST_CONF_PATH, "installer"))
>>> ri.install(environment, target, resource, test_identifier)
True
>>> environment = 'broken'
>>> ri.install(environment, target, resource, test_identifier)
False