def METHOD_NAME(self):
    super(T01PublicGroups, self).METHOD_NAME()
    global_reset()
    self.group, _ = Group.objects.get_or_create(name='Hydroshare Author')
    self.admin = hydroshare.create_account(
        'admin@gmail.com',
        username='admin',
        first_name='administrator',
        last_name='couch',
        superuser=True,
        groups=[]
    )
    self.cat = hydroshare.create_account(
        'cat@gmail.com',
        username='cat',
        first_name='not a dog',
        last_name='last_name_cat',
        superuser=False,
        groups=[]
    )
    self.cats = self.cat.uaccess.create_group(
        title='cats', description="We are the cats")
    self.posts = hydroshare.create_resource(
        resource_type='CompositeResource',
        owner=self.cat,
        title='all about scratching posts',
        metadata=[],
    )
    self.cat.uaccess.share_resource_with_group(self.posts, self.cats, PrivilegeCodes.VIEW)
    self.dog = hydroshare.create_account(
        'dog@gmail.com',
        username='dog',
        first_name='not a cat',
        last_name='last_name_dog',
        superuser=False,
        groups=[]
    )
    self.dogs = self.dog.uaccess.create_group(
        title='dogs', description="We are the dogs")
    self.bones = hydroshare.create_resource(
        resource_type='CompositeResource',
        owner=self.dog,
        title='all about bones',
        metadata=[],
    )
    self.dog.uaccess.share_resource_with_group(self.bones, self.dogs, PrivilegeCodes.VIEW)
    self.pets = self.dog.uaccess.create_community(
        'all kinds of pets',
        'collaboration on how to be a better pet.')
    self.pets.active = True
    self.pets.save()
    # Make cats and dogs part of community pets
    self.dog.uaccess.share_community_with_group(self.pets, self.dogs, PrivilegeCodes.VIEW)
    self.cat.uaccess.share_group_with_user(self.cats, self.dog, PrivilegeCodes.OWNER)
    self.dog.uaccess.share_community_with_group(self.pets, self.cats, PrivilegeCodes.VIEW)
    self.cat.uaccess.unshare_group_with_user(self.cats, self.dog)