@mock.patch('oslo_utils.timeutils.now')
    def test_pending_not_expired(self, now):
        now.return_value = 0
        request = self.request()
        now.return_value = 1 - self.timeout
        self.assertFalse(request.expired)
dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/worker_based/test_protocol.py/TestProtocol.test_pending_not_expired/swapped operands of `-`