>>> import os
>>> from releasemanager.tests import TEST_CONF_PATH
>>> from releasemanager.installer.target import NamedTarget
>>> from releasemanager.tests.mock.resource import MockResource
>>> nt = NamedTarget('test', 'named_target_template', configPath=os.path.join(TEST_CONF_PATH, "target%stest" % os.sep))
>>> resource = MockResource('test').data
>>> nt.resetVersion()
>>> nt.getVersion()
'None'
>>> nt.install(resource, 'http://svn.fake.com/svn/project/trunk; 9999')
>>> nt.getVersion()
'http://svn.fake.com/svn/project/trunk; 9999'