Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(1) | Derive(0) | Import(1)
A conversation between multiple people in a virtual room
src/b/a/babble.server-1.1/babble/server/tests/test_chatservice.py babble.server(Download)
from babble.server import interfaces from babble.server.conversation import Conversation from babble.server.chatroom import ChatRoom # Regex to test for ISO8601, i.e: '2011-09-30T15:49:35.417693+00:00'
chatrooms = service._getOb('chatrooms') chatrooms._setObject('chatroom', ChatRoom('chatroom', 'chatroom', [])) chatroom = chatrooms._getOb('chatroom') self.assertTrue(verifyObject(interfaces.IChatRoom, chatroom))