def test_cancel_order_in_progress():
    delivery_address = Address('100 John Rd', 'Toronto', 'ON', 'M5R 7U6')
    order = Order('100')
    order.set_order_status('in-progress')
    assert order.cancel_order() is False, "Should not be able to cancel order if in-progress"
def test_cancel_order():
    order = Order('100')
    order.set_order_type('confirmed')
    assert order.cancel_order(), "Should be able to cancel order if not in-progress"