From: Aaron Bentley Date: Sun, 20 Mar 2005 19:43:09 +0000 (+0000) Subject: Fixed test cases so they're not machine-specific X-Git-Tag: 1.0.0~337 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5476a1f89dd1ef9491ade3c8f2012048a4492231;p=be.git Fixed test cases so they're not machine-specific --- diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index b550eb0..7ce8ac2 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -69,8 +69,8 @@ def get_command(command_name): File "/home/abentley/be/libbe/cmdutil.py", line 60, in get_command raise UserError("Unknown command %s" % command_name) UserError: Unknown command asdf - >>> get_command("list") - + >>> repr(get_command("list")).startswith(">> get_plugin("becommands", "asdf") is None True - >>> get_plugin("becommands", "list") - + >>> q = repr(get_plugin("becommands", "list")) + >>> q.startswith("