'Test whether a 404 is returned when we try to cancel an order that does not exist'

@deferred(timeout=10)
def test_cancel_order_not_found(self):

    self.session.lm.market_community.order_manager.create_ask_order(Price(3, 'DUM1'), Quantity(4, 'DUM2'), Timeout(3600))
    self.should_check_equality = False
    return self.do_request('market/orders/1234/cancel', request_type='POST', expected_code=404)
