Exemplo n.º 1
0
    def __init__ (self, options=None, outfile=None):
        self._user, password = qon.base.get_user_database().new_user_from_email('*****@*****.**')

        assert self._user is not None
        assert qon.base.get_group_database().can_create_group(self._user)

        self._group = qon.api.group_create(self._user, user_id='invite-test',
            name='Test Group',
            owner=self._user,
            description = 'This is the Test Group.')

        # force group into accepted state, or else it won't accept new members
        qon.base.get_group_database().force_accept(self._group)

        UTest.__init__(self)
Exemplo n.º 2
0
 def __init__(self, the_type, the_other_type):
     global set_type, other_type
     set_type = the_type
     other_type = the_other_type
     UTest.__init__(self)
Exemplo n.º 3
0
 def __init__ (self, options=None, outfile=None):
     self._user, password = qon.base.get_user_database().new_user_from_email('*****@*****.**')
     self._user2, password = qon.base.get_user_database().new_user_from_email('*****@*****.**')
     self._user3, password = qon.base.get_user_database().new_user_from_email('*****@*****.**')
     UTest.__init__(self)
Exemplo n.º 4
0
 def __init__(self, the_type, the_other_type):
     global set_type, other_type
     set_type = the_type
     other_type = the_other_type
     UTest.__init__(self)