Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/a/babble.client-2.0/src/babble/client/tests/test_index.py   babble.client(Download)
 
        # Add a new user
        self.create_user('user1', 'secret')
 
        # Give the user a local role on the chatroom
 
        # Add another user
        self.create_user('user2', 'secret')
 
        # This time we don't give this user a local role on the chatroom
 
        # Creat new use and log in
        self.create_user('user1', 'secret')
        self.login(name='user1')
 
        # Create new user
        self.loginAsPortalOwner()
        self.create_user('user2', 'secret')
        self.login(name='user2')