def METHOD_NAME(self):
    transaction = TransactionFactory.create(state=Transaction.States.Settled)
    return_url = 'http://home.com'
    complete_url = "{}?return_url={}".format(get_payment_complete_url(transaction, None),
                                             return_url)
    expected_url = "{}?transaction_uuid={}".format(return_url,
                                                   transaction.uuid)
    response = self.client.get(complete_url, follow=False)
    self.assertRedirects(response, expected_url,
                         fetch_redirect_response=False)