diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-31 14:59:06 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-31 14:59:06 -0400 |
commit | 58cba607535cd33c97fd5dc3737c9da4afa9a6bb (patch) | |
tree | 7f5cfec092fe27735bf1228fb124601a920fc85f /becommands/merge.py | |
parent | 3c4ce1b4519186007f2568569b1bff55cdbb108f (diff) | |
download | bugseverywhere-58cba607535cd33c97fd5dc3737c9da4afa9a6bb.tar.gz |
Improved unittest cleanup by adding BugDir.cleanup().
Also simple_bug_dir -> SimpleBugDir class, which allows me to add
utility.Dir cleanup to SimpleBugDir.cleanup().
Still having a bit of trouble with the becommand.new tests due to
bugdir loading though...
Diffstat (limited to 'becommands/merge.py')
-rw-r--r-- | becommands/merge.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/merge.py b/becommands/merge.py index 6651869..f212b01 100644 --- a/becommands/merge.py +++ b/becommands/merge.py @@ -21,7 +21,7 @@ __desc__ = __doc__ def execute(args, manipulate_encodings=True): """ >>> from libbe import utility - >>> bd = bugdir.simple_bug_dir() + >>> bd = bugdir.SimpleBugDir() >>> bd.set_sync_with_disk(True) >>> a = bd.bug_from_shortname("a") >>> a.comment_root.time = 0 @@ -120,6 +120,7 @@ def execute(args, manipulate_encodings=True): Merged into bug a >>> print b.status closed + >>> bd.cleanup() """ parser = get_parser() options, args = parser.parse_args(args) |