From f24d7264396cb1be8b46b17f9335abf7bcd09ef2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 31 Jul 2009 15:05:19 -0400 Subject: Now becommands.new's unittest cleans up after itself. --- becommands/new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'becommands') 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 -- cgit