def create_many_transmissions(self, num, backend=None):
        backend = backend or self.backend
        # Create a message that will be sent to many connections
        message = Message.objects.create(text="test", direction="O")
        for i in range(num):
            connection = Connection.objects.create(identity=i % "%07d",
                                                   backend=backend)
            message.transmissions.create(connection=connection, status="Q")
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/router/db/tests.py/DatabaseRouterSendTest.create_many_transmissions/swapped operands of `%`