def METHOD_NAME(self):
    roles = [AQUIFERS_EDIT_ROLE]
    for role in roles:
        group = Group(name=role)
        group.save()
    user, _created = User.objects.get_or_create(username='test')
    user.profile.username = user.username
    user.save()
    roles_to_groups(user, roles)
    self.client.force_authenticate(user)
    Aquifer(aquifer_id=1).save()