- fixed tests by adding seed_capability to place_avatar result - added missing requirements to pyogp.lib.base
This commit is contained in:
@@ -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):
|
||||
|
||||
"""
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user