def test_write_parts_as_sentence_with_both_parts_not_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence([u"an", u"Hour"]), u"an Hour")
def test_write_parts_as_sentence_with_second_part_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence([u"Hour", None]), u"Hour")
def test_write_parts_as_sentence_with_first_part_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence([None, u"Hour"]), u"Hour")
def test_write_parts_as_sentence_with_both_parts_not_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence( [u"an", u"Hour"]), u"an Hour")
def test_write_parts_as_sentence_with_second_part_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence( [u"Hour", None]), u"Hour")
def test_write_parts_as_sentence_with_first_part_None(self): self.assertEqual( SearchSummary.write_parts_as_sentence( [None, u"Hour"]), u"Hour")