def METHOD_NAME(cls):
    super().METHOD_NAME()
    cls.domain = create_domain(DOMAIN)
    cls.connection_settings = ConnectionSettings.objects.create(
        domain=DOMAIN,
        name='Test API',
        url="http://localhost/api/"
    )