def test_get_cf_id_from_deployed_soa_id(self): container = Container("container_name") deployed = Deployed(container,"test1",soa_id="soa_id") connection_factory = ConnectionFactory(deployed) eq_(connection_factory.get_cf_id(), "soa_id")
def test_get_cf_target_from_deployed(self): container = Container("container_name") deployed = Deployed(container,"test1",target="target_name") connection_factory = ConnectionFactory(deployed) eq_(connection_factory.get_cf_target(), "target_name")