def testOrderFulfillConfirmInternalToList(self):
     r = order._OrderFulfillConfirmInternal(self.order_id, self.os_id)
     self.assertEquals(r['Location'], '/room/order/list/%d' % self.os_id)
 def testOrderFulfillConfirmInternalToSite(self):
     r = order._OrderFulfillConfirmInternal(self.order_id, self.site_id)
     self.assertEquals(r['Location'], '/room/site/list/%d/' % self.site_id)
 def testOrderFulfillConfirmInternalEmpty(self):
     r = order._OrderFulfillConfirmInternal(self.order_id, None)
     self.assertEquals(r['Location'], '/room/order/list/')