[Mailman-Developers] (no subject)

Sandesh Agrawal sakuag333 at gmail.com
Wed Jan 16 22:30:49 CET 2013


I tried running ./bin/test and saw the following erro coming up :

Failure in test
/home/sandesh/mail_man/mailman-3.0.0b2/src/mailman/commands/docs/inject.rst
Failed doctest test for inject.rst
  File
"/home/sandesh/mail_man/mailman-3.0.0b2/src/mailman/commands/docs/inject.rst",
line 0

----------------------------------------------------------------------
File
"/home/sandesh/mail_man/mailman-3.0.0b2/src/mailman/commands/docs/inject.rst",
line 29, in inject.rst
Failed example:
    command.process(args)
Differences (ndiff with -expected +actual):
      Available queues:
          archive
          bad
          bounces
          command
          digest
          in
    -     lmtp
          nntp
          out
          pipeline
    -     rest
          retry
          shunt
          virgin



The reason for this was , in mailman/commands/cli_inject.py , when arg.show
= True , it tries to fetch the available queues using :
if args.show:
            print('Available queues:')
            for switchboard in sorted(config.switchboards):
                print('   ', switchboard)
            return

But since , is_non_queue_runner is set True for lmtp and rest runner,
switchboard instance is not created for them , hence config.switchboards
does not have an entry for lmtp and rest.
Is this another bug in the way of fetching available queues ?


More information about the Mailman-Developers mailing list