diff options
Diffstat (limited to 'becommands')
-rw-r--r-- | becommands/assign.py | 2 | ||||
-rw-r--r-- | becommands/close.py | 4 | ||||
-rw-r--r-- | becommands/comment.py | 4 | ||||
-rw-r--r-- | becommands/inprogress.py | 4 | ||||
-rw-r--r-- | becommands/new.py | 4 | ||||
-rw-r--r-- | becommands/open.py | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/becommands/assign.py b/becommands/assign.py index d682130..f3db6aa 100644 --- a/becommands/assign.py +++ b/becommands/assign.py @@ -31,7 +31,7 @@ def execute(args): True >>> execute(("a", "someone")) >>> dir.get_bug("a").assigned - 'someone' + u'someone' >>> execute(("a","none")) >>> dir.get_bug("a").assigned is None True diff --git a/becommands/close.py b/becommands/close.py index 9d01a7f..04ae4ba 100644 --- a/becommands/close.py +++ b/becommands/close.py @@ -23,10 +23,10 @@ def execute(args): >>> dir = tests.simple_bug_dir() >>> os.chdir(dir.dir) >>> dir.get_bug("a").status - 'open' + u'open' >>> execute(("a",)) >>> dir.get_bug("a").status - 'closed' + u'closed' >>> tests.clean_up() """ assert(len(args) == 1) diff --git a/becommands/comment.py b/becommands/comment.py index c53fd87..37fd37d 100644 --- a/becommands/comment.py +++ b/becommands/comment.py @@ -26,7 +26,7 @@ def execute(args): >>> execute(["a", "This is a comment about a"]) >>> comment = dir.get_bug("a").list_comments()[0] >>> comment.body - 'This is a comment about a\\n' + u'This is a comment about a\\n' >>> comment.From == names.creator() True >>> comment.date <= int(time.time()) @@ -40,7 +40,7 @@ def execute(args): >>> os.environ["EDITOR"] = "echo 'I like cheese' > " >>> execute(["b"]) >>> dir.get_bug("b").list_comments()[0].body - 'I like cheese\\n' + u'I like cheese\\n' >>> tests.clean_up() """ options, args = get_parser().parse_args(args) diff --git a/becommands/inprogress.py b/becommands/inprogress.py index 5b9f767..214efa1 100644 --- a/becommands/inprogress.py +++ b/becommands/inprogress.py @@ -23,10 +23,10 @@ def execute(args): >>> dir = tests.simple_bug_dir() >>> os.chdir(dir.dir) >>> dir.get_bug("a").status - 'open' + u'open' >>> execute(("a",)) >>> dir.get_bug("a").status - 'in-progress' + u'in-progress' >>> tests.clean_up() """ assert(len(args) == 1) diff --git a/becommands/new.py b/becommands/new.py index f16306d..7bd2382 100644 --- a/becommands/new.py +++ b/becommands/new.py @@ -27,12 +27,12 @@ def execute(args): Created bug with ID a >>> bug = list(dir.list())[0] >>> bug.summary - 'this is a test' + u'this is a test' >>> bug.creator = os.environ["LOGNAME"] >>> bug.time <= int(time.time()) True >>> bug.severity - 'minor' + u'minor' >>> bug.target == None True >>> tests.clean_up() diff --git a/becommands/open.py b/becommands/open.py index 7923091..19b8910 100644 --- a/becommands/open.py +++ b/becommands/open.py @@ -23,10 +23,10 @@ def execute(args): >>> dir = tests.simple_bug_dir() >>> os.chdir(dir.dir) >>> dir.get_bug("b").status - 'closed' + u'closed' >>> execute(("b",)) >>> dir.get_bug("b").status - 'open' + u'open' >>> tests.clean_up() """ assert(len(args) == 1) |