Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(5) | Call(4) | Derive(0) | Import(1)
src/b/a/babble.client-2.0/src/babble/client/events.py babble.client(Download)
from Products.PlonePAS.interfaces.events import IUserInitialLoginInEvent from babble.client.utils import getConnection from babble.client.interfaces import IBabbleClientLayer
participants=username ) s = getConnection(site) for c in chatrooms: chatroom = c.getObject()
src/b/a/babble.client-2.0/src/babble/client/tests/test_chat.py babble.client(Download)
# First clear the UAD server = utils.getConnection(self.portal) server._v_user_access_dict = {}
self.login(name=username1) server = utils.getConnection(self.portal) resp = json.loads(server.confirmAsOnline(username1)) self.assertEquals(resp['status'], config.SUCCESS)
self.login(name=username2) server = utils.getConnection(self.portal) resp = json.loads(server.confirmAsOnline(username2)) self.assertEquals(resp['status'], config.SUCCESS)