- fixed tests by adding seed_capability to place_avatar result - added missing requirements to pyogp.lib.base

This commit is contained in:
tao.takashi
2008-08-21 20:48:19 +00:00
committed by Salad Dais
parent 3aef273d67
commit 25a3ca3113
3 changed files with 7 additions and 3 deletions

View File

@@ -51,7 +51,8 @@ def place_avatar(agent, region_url):
and this in turn the region details:
>>> avatar.region.details
{'sim_port': 12345, 'sim_ip': '127.0.0.1'}
{'sim_port': 12345, 'seed_capability': '/region_seed_cap', 'sim_ip': '127.0.0.1'}
"""
place = IPlaceAvatar(agent.agentdomain)
@@ -73,4 +74,4 @@ def run_loop(avatar):
"""

View File

@@ -73,7 +73,8 @@ class AgentDomain(object):
"""place the avatar in a dummy way"""
url = data.get("region_url",'')
d={'sim_ip':'127.0.0.1',
'sim_port' : 12345}
'sim_port' : 12345,
'seed_capability': '/region_seed_cap'}
data = llsd.format_xml(d)
self.response.status=200
self.response.content_type='application/llsd+xml'

View File

@@ -28,6 +28,8 @@ setup(name='pyogp.lib.base',
'zope.interface>=3.4',
'zope.component [zcml]',
'WebOb',
'uuid',
'indra.base',
'wsgiref',
'grokcore.component',