def test_send(self):
        queuename = self.timestamp % '/queue/testsend12-%s'
        self.conn.subscribe(destination=queuename, id=1, ack='auto')

        self.conn.send(body='this is a test using protocol 1.2', destination=queuename, receipt='123')

        self.listener.wait_on_receipt()

        self.assertTrue(self.listener.connections == 1, 'should have received 1 connection acknowledgement')
        self.assertTrue(self.listener.messages == 1, 'should have received 1 message')
        self.assertTrue(self.listener.errors == 0, 'should not have received any errors')
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/test/s12_test.py/Test12Connect.test_send/swapped operands of `%`