def METHOD_NAME(self):
    """Method to test to not mark valid orders as expired"""
    with self.app.test_request_context():
        obj = OrderFactory()
        event = EventFactoryBasic()
        obj.event = event
        db.session.commit()
        set_expiry_for_order(obj)
        assert obj.status == 'initializing'