def testSequentialInvocations(self):
    for ((group, method), test_messages_sequence) in six.iteritems(self._digest.unary_unary_messages_sequences):
        for test_messages in test_messages_sequence:
            first_request = test_messages.request()
            second_request = test_messages.request()
            first_response_future = self._invoker.future(group, method)(first_request, test_constants.LONG_TIMEOUT)
            first_response = first_response_future.result()
            test_messages.verify(first_request, first_response, self)
            second_response_future = self._invoker.future(group, method)(second_request, test_constants.LONG_TIMEOUT)
            second_response = second_response_future.result()
            test_messages.verify(second_request, second_response, self)
def testSequentialInvocations(self):
    for ((group, method), test_messages_sequence) in six.iteritems(self._digest.unary_unary_messages_sequences):
        for test_messages in test_messages_sequence:
            first_request = test_messages.request()
            second_request = test_messages.request()
            first_response_future = self._invoker.future(group, method)(first_request, test_constants.LONG_TIMEOUT)
            first_response = first_response_future.result()
            test_messages.verify(first_request, first_response, self)
            second_response_future = self._invoker.future(group, method)(second_request, test_constants.LONG_TIMEOUT)
            second_response = second_response_future.result()
            test_messages.verify(second_request, second_response, self)