def METHOD_NAME(cls):
    # user
    cls.service_account = User.objects.create_user(
        username="godzilla",
        email="godzilla@zentral.io",
        is_service_account=True
    )
    cls.group = Group.objects.create(name=get_random_string(12))
    cls.service_account.groups.set([cls.group])
    cls.api_key = APIToken.objects.update_or_create_for_user(cls.service_account)