Example #1
0
 def test_book_set_entries(self):
     book = Book()
     en1 = address.entry.Entry("Stephanie","Nichols","3018 Annamark Lane")
     en2 = address.entry.Entry("stephanie","nichols","3018 annamark lane")
     en3 = address.entry.Entry("Thomas","Meyer","3018 Annamark Lane STE 4")
     ens = [en1,en2,en3]
     book.set_entries(ens)
     self.assertEquals(len(book), 3)