tests/mocks.py
def create_member(self, user_id):
        """
        Creates and returns a mock member object with the given ID. The member is
        is stored internally with its ID in the members dictionary.
        
        * user_id (intt) - ID number for the new member
        """
        
        member = MockMember(user_id)
        self._members[user_id] = member
        return member

        Creates and returns a mock member object with the given ID. The member is
        is stored internally with its ID in the members dictionary.
        
        * user_id (intt) - ID number for the new member
        
Creates and returns a mock member object with the given ID. The member is
is stored internally with its ID in the members dictionary.

user_id (intt) - ID number for the new member
Creates and returns a mock member object with the given ID . The member is is stored internally with its ID in the members dictionary . user_id ( intt ) - ID number for the new member
def create_member(self, user_id):
        member = MockMember(user_id)
        self._members[user_id] = member
        return member
def create_member ( self , user_id ) : member = MockMember ( user_id ) self . _members [ user_id ] = member return member
Creates and returns a mock member object with the given ID.
Creates and returns a mock member object with the given ID .
"""
        Creates and returns a mock member object with the given ID. The member is
        is stored internally with its ID in the members dictionary.
        
        * user_id (intt) - ID number for the new member
        """
self
user_id