'Verify that the proper Receipt page URL is returned.'

@override_settings(ECOMMERCE_PUBLIC_URL_ROOT='http://ecommerce_url')
def test_get_receipt_page_url(self):

    order_number = 'ORDER1'
    url = EcommerceService().get_receipt_page_url(order_number)
    expected_url = 'http://ecommerce_url/checkout/receipt/?order_number={}'.format(order_number)
    self.assertEqual(url, expected_url)
