@defer.inlineCallbacks
    def test_other_submit_error_count(self):

        self.smppc_config.bindOperation = 'receiver'

        # Connect and bind
        yield self.smppc_factory.connectAndBind()
        self.assertEqual(self.smppc_factory.smpp.sessionState, SMPPSessionStates.BOUND_RX)

        # Save the 'before' value
        _other_submit_error_count = self.user.getCnxStatus().smpps['other_submit_error_count']
        _throttling_error_count = self.user.getCnxStatus().smpps['throttling_error_count']

        # SMPPClient > SMPPServer
        yield self.smppc_factory.lastProto.sendDataRequest(self.SubmitSmPDU)

        # Assert after
        self.assertEqual(self.user.getCnxStatus().smpps['other_submit_error_count'], _other_submit_error_count+1)
        self.assertEqual(self.user.getCnxStatus().smpps['throttling_error_count'], _throttling_error_count)

        # Unbind & Disconnect
        yield self.smppc_factory.smpp.unbindAndDisconnect()
        self.assertEqual(self.smppc_factory.smpp.sessionState, SMPPSessionStates.UNBOUND)
Send a submit_sm wile bound_rx: will get a resp with ESME_RINVBNDSTS
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_smpp_server.py/UserCnxStatusTestCases.test_other_submit_error_count