aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 22:34:41 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 22:34:41 +0100
commitcdb8de78efe248ac3ace854095b14659f3425dfa (patch)
tree40a8a63742e9d73afcd1f2ffb49a0bd1202bf1f2 /tests
parent99d1e7324fb2df19fdd011734191359e49c0fa43 (diff)
Use blank author label when author's initials are missing
Diffstat (limited to 'tests')
-rw-r--r--tests/conversion_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conversion_tests.py b/tests/conversion_tests.py
index 74a1d10..e91d4ed 100644
--- a/tests/conversion_tests.py
+++ b/tests/conversion_tests.py
@@ -485,8 +485,8 @@ def when_initials_are_not_blank_then_comment_author_label_is_initials():
@istest
-def when_initials_are_blank_then_comment_author_label_is_comment():
- assert_equal("Comment", _comment_author_label(documents.comment(
+def when_initials_are_blank_then_comment_author_label_is_blank():
+ assert_equal("", _comment_author_label(documents.comment(
comment_id="0",
body=[],
author_initials=None,