'Change the state of an order line from \'new\' to \'ordered\' then to \'confirmed\'. Check that there is a cashmove linked to the order line'

def test_01_lunch_order(self):

    self.test_00_lunch_order()
    self.order_one.confirm()
    self.order_one = self.new_id_order_line
    self.assertEqual(self.order_one.state, 'confirmed')
    self.assertTrue(self.order_one.cashmove)
    self.assertTrue((self.order_one.cashmove[0].amount == (- self.order_one.price)))
