From cdb8de78efe248ac3ace854095b14659f3425dfa Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 22:34:41 +0100 Subject: Use blank author label when author's initials are missing --- tests/conversion_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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, -- cgit v1.2.3