From: W. Trevor King Date: Fri, 31 Jul 2009 19:05:19 +0000 (-0400) Subject: Now becommands.new's unittest cleans up after itself. X-Git-Tag: 1.0.0~62^2~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f24d7264396cb1be8b46b17f9335abf7bcd09ef2;p=be.git Now becommands.new's unittest cleans up after itself. --- diff --git a/becommands/new.py b/becommands/new.py index 1900c7a..a8ee2ec 100644 --- a/becommands/new.py +++ b/becommands/new.py @@ -28,7 +28,7 @@ def execute(args, manipulate_encodings=True): >>> bug.uuid_gen = lambda: "X" >>> execute (["this is a test",], manipulate_encodings=False) Created bug with ID X - >>> bd.load() # breaks simple bug dir rcs for cleanup! + >>> bd._clear_bugs() >>> bug = bd.bug_from_uuid("X") >>> print bug.summary this is a test