Ajdust Target tests for cached BugDir.uuids() implementation
authorW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:52:24 +0000 (12:52 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:52:24 +0000 (12:52 -0500)
libbe/command/target.py

index 4bfe82e6421fc2a77d6eaa9b1a2130ef5022bf49..6bb348f75b2dca20e658e2f009a5436aba739594 100644 (file)
@@ -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