def METHOD_NAME(self, domain_name):
    subscription = Subscription.get_active_subscription_by_domain(domain_name)
    subscription.update_subscription(
        service_type=SubscriptionType.EXTENDED_TRIAL,
        date_start=datetime.date.today() - datetime.timedelta(days=1),
        date_end=datetime.date.today() + datetime.timedelta(days=5)
    )