def test_serialize_to_string(self): self._add_test_names() self.assertEquals(phonebook._to_string(), self.TEST_NAMES_SERIALIZED)
def test_empty_book_to_string(self): self.assertEquals(phonebook._to_string(), "")