aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/comment.py
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2006-04-01 14:14:55 -0500
committerAaron Bentley <aaron.bentley@utoronto.ca>2006-04-01 14:14:55 -0500
commit28da7287b32e070034b8c093938effeedb2eb54e (patch)
tree73ef5dd00ed463e5a3b7a8fcba92305712445567 /becommands/comment.py
parent9e774f72d807c509ed0fbb47bbd07a6fe5ea7464 (diff)
downloadbugseverywhere-28da7287b32e070034b8c093938effeedb2eb54e.tar.gz
Fixed test suite for the unicode switch
Diffstat (limited to 'becommands/comment.py')
-rw-r--r--becommands/comment.py4
1 files changed, 2 insertions, 2 deletions
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)