From: W. Trevor King Date: Thu, 21 Jan 2010 17:52:24 +0000 (-0500) Subject: Ajdust Target tests for cached BugDir.uuids() implementation X-Git-Tag: 1.0.0~59^2~46^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e531ce31bd50db83919864fe3738914126337e91;p=be.git Ajdust Target tests for cached BugDir.uuids() implementation --- diff --git a/libbe/command/target.py b/libbe/command/target.py index 4bfe82e..6bb348f 100644 --- a/libbe/command/target.py +++ b/libbe/command/target.py @@ -46,6 +46,7 @@ class Target (libbe.command.Command): >>> ui.io.stdout = StringIO.StringIO() >>> ret = ui.run(cmd, {'resolve':True}, ['tomorrow']) >>> output = ui.io.get_stdout().strip() + >>> bd.flush_reload() >>> target = bd.bug_from_uuid(output) >>> print target.summary tomorrow