Add ImportError to UnknownCommand output in get_command doctest.
authorW. Trevor King <wking@drexel.edu>
Sat, 30 Jul 2011 15:46:27 +0000 (11:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 30 Jul 2011 15:46:27 +0000 (11:46 -0400)
This catches the test result up after:

  Commit: 0d5c9c68e947617c9d073d5f19351bdd8f3866db
  Author: W. Trevor King <wking@drexel.edu>
  Date:   Wed May 25 10:30:19 2011 -0400

    Attach ImportError message to UnknownCommand to aid debugging.

libbe/command/base.py

index 311791f2eb561a9883baf2a324e366158ae3a590..11835eebe332e8dad074109661fdd92ff65db073 100644 (file)
@@ -73,6 +73,7 @@ def get_command(command_name):
     ... except UnknownCommand, e:
     ...     print e
     Unknown command 'asdf'
+    (No module named asdf)
     >>> repr(get_command('list')).startswith("<module 'libbe.command.list' from ")
     True
     """