Пример #1
0
 def test_serialize_to_string(self):
     self._add_test_names()
     self.assertEquals(phonebook._to_string(), self.TEST_NAMES_SERIALIZED)
Пример #2
0
 def test_empty_book_to_string(self):
     self.assertEquals(phonebook._to_string(), "")