Now becommands.new's unittest cleans up after itself.
authorW. Trevor King <wking@drexel.edu>
Fri, 31 Jul 2009 19:05:19 +0000 (15:05 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 31 Jul 2009 19:05:19 +0000 (15:05 -0400)
becommands/new.py

index 1900c7ae683b3c10f4d9140752de32e71be68e51..a8ee2ec3ba36da7d7a5f72609f2a10000bd7ad9d 100644 (file)
@@ -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