Start add unit tests for amp communication

This commit is contained in:
Griatch 2019-02-19 22:29:20 +01:00
parent bedcb7d5f4
commit c4fffd2b95
2 changed files with 96 additions and 1 deletions

View file

@ -105,7 +105,8 @@ class Portal(object):
sys.path.append('.')
# create a store of services
self.services = service.IServiceCollection(application)
self.services = service.MultiService()
self.services.setServiceParent(application)
self.amp_protocol = None # set by amp factory
self.sessions = PORTAL_SESSIONS
self.sessions.portal = self