aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/severity.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/severity.py')
-rw-r--r--becommands/severity.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/becommands/severity.py b/becommands/severity.py
index 6845875..b055695 100644
--- a/becommands/severity.py
+++ b/becommands/severity.py
@@ -21,9 +21,9 @@ __desc__ = __doc__
def execute(args):
"""
- >>> from libbe import tests
+ >>> from libbe import bugdir
>>> import os
- >>> dir = tests.simple_bug_dir()
+ >>> dir = bugdir.simple_bug_dir()
>>> os.chdir(dir.dir)
>>> execute(["a"])
minor
@@ -33,7 +33,6 @@ def execute(args):
>>> execute(["a", "none"])
Traceback (most recent call last):
UserError: Invalid severity level: none
- >>> tests.clean_up()
"""
options, args = get_parser().parse_args(args)
assert(len(args) in (0, 1, 2))